FLValue_ToJSONX

Function FLValue_ToJSONX 

Source
pub unsafe extern "C" fn FLValue_ToJSONX(
    v: FLValue,
    json5: bool,
    canonicalForm: bool,
) -> FLStringResult
Expand description

Most general Fleece to JSON converter. @param v The Fleece value to encode @param json5 If true, outputs JSON5, like \ref FLValue_ToJSON5 @param canonicalForm If true, outputs the JSON in a consistent “canonical” form. All equivalent values should produce byte-for-byte identical canonical JSON. This is useful for creating digital signatures, for example.