FLEncodeJSONDelta

Function FLEncodeJSONDelta 

Source
pub unsafe extern "C" fn FLEncodeJSONDelta(
    old: FLValue,
    nuu: FLValue,
    jsonEncoder: FLEncoder,
) -> bool
Expand description

Writes JSON that describes the changes to turn the value old into nuu. (The format is documented in Fleece.md, but you should treat it as a black box.) @param old A value that’s typically the old/original state of some data. @param nuu A value that’s typically the new/changed state of the old data. @param jsonEncoder An encoder to write the JSON to. Must have been created using FLEncoder_NewWithOptions, with JSON or JSON5 format. @return True on success, false on (extremely unlikely) failure.