Lines Matching refs:is

8 The job of the serializer is to encode the outgoing request body and decode the 
9 incoming response body. In 99% of cases, this is a simple conversion to/from
12 The default serializer is the `SmartSerializer`.
21 The `SmartSerializer` inspects the data to be encoded. If the request body is
22 provided as a string, it is passed directly to {es} as a string. This allows
26 If the data is an array, it is converted to JSON. If the data provided was an
28 (`[]`) to an empty object (`{}`) so that it is valid JSON for {es} request
36 `content_type` headers to determine the appropriate encoding. If the data is
37 encoded as JSON, it is decoded into an array using `json_decode`. Otherwise, it
38 is returned as a string.
40 This functionality is required to cooperate with endpoints such as the `Cat`
47 The `SmartSerializer` is selected by default, but if you wish to manually
58 Note that the serializer is configured by specifying a namespace path to the
70 is provided as a string, it is passed directly to {es} as a string. This allows
74 If the data is an array, it is converted to json. If the data provided was an
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.
101 Note that the serializer is configured by specifying a namespace path to the
115 JSON from an empty array (`[]`) to an empty object (`{}`) so that it is valid
125 When decoding the response body, everything is decoded to JSON from JSON. If the
126 data is not valid JSON, `null` is returned.
142 Note that the serializer is configured by specifying a namespace path to the