Expert.Serializertype 'number serializer := Faraday.t -> 'number -> unitval create : 'number serializer -> ('number, _) Or_raw.t -> Faraday.t -> unitFaraday serializer for a json object given a serializer for the number type. This minimizes whitespace in the serialized representation.
val create_hum :
spaces:int ->
'number serializer ->
('number, _) Or_raw.t ->
Faraday.t ->
unitcreate_hum ~spaces is like serialize but it adds newlines and spaces in the same way that JSON.stringify(_,_,spaces) does in JavaScript. If spaces is 0 then the result is the same as that of serialize.