Lines Matching refs:encoder
21 /// JSON encoder with additional formats, used to output JsonValue instances in JSON format to the specified location.
23 /// This encoder will add additional formatting control whitespace characters during encoding.
164 /// JSON encoder that outputs no extra whitespace characters ,
397 ($encoder: ident, $input: expr, $output: expr $(,)?) => {
400 let mut encoder = $encoder::new(&mut writer);
401 assert!(encoder.encode(&value).is_ok());
413 /// 2. Creates a `FormattedEncoder` called `encoder`.
414 /// 3. Uses `encoder` to encode `json_value`.
468 /// 2. Creates a `Compact` called `encoder`.
469 /// 3. Uses `encoder` to encode `json_value`.