Lines Matching refs:JSON
10 JSON.
23 users to provide raw JSON, or raw strings for certain endpoints that don't have
26 If the data is an array, it is converted to JSON. If the data provided was an
27 empty array, the serializer manually converts the JSON from an empty array
28 (`[]`) to an empty object (`{}`) so that it is valid JSON for {es} request
37 encoded as JSON, it is decoded into an array using `json_decode`. Otherwise, it
41 endpoints, which return tabular text instead of JSON.
71 users to provide raw JSON, or raw strings for certain endpoints that don't have
75 empty array, the serializer manually converts the JSON from an empty array
76 (`[]`) to an empty object (`{}`) so that it is valid JSON for {es} request
83 When decoding the response body, everything is decoded to JSON from JSON. If the
84 data is not valid JSON, `null` will be returned.
112 The `EverythingToJSONSerializer` tries to convert everything to JSON.
115 JSON from an empty array (`[]`) to an empty object (`{}`) so that it is valid
116 JSON for Elasticsearch request bodies.
118 If the data was not an array and/or not convertible to JSON, the method returns
125 When decoding the response body, everything is decoded to JSON from JSON. If the
126 data is not valid JSON, `null` is returned.