Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for jsonList (0.09 sec)

  1. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/problems/JsonModelWriter.kt

                    property("kind", "Unknown")
                }
            }
        }
    
        private
        inline fun <T> jsonObjectList(list: Iterable<T>, body: (T) -> Unit) {
            jsonList(list) {
                jsonObject {
                    body(it)
                }
            }
        }
    
        private
        inline fun jsonObject(body: () -> Unit) {
            beginObject()
            body()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  2. src/encoding/json/encode_test.go

    func (b jsonbyte) MarshalJSON() ([]byte, error) { return tenc(`{"JB":%d}`, b) }
    
    type textbyte byte
    
    func (b textbyte) MarshalText() ([]byte, error) { return tenc(`TB:%d`, b) }
    
    type jsonint int
    
    func (i jsonint) MarshalJSON() ([]byte, error) { return tenc(`{"JI":%d}`, i) }
    
    type textint int
    
    func (i textint) MarshalText() ([]byte, error) { return tenc(`TI:%d`, i) }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 29.4K bytes
    - Viewed (0)
Back to top