MCPcopy Create free account
hub / github.com/couchbase/fleece / setCanonical

Method setCanonical

Fleece/Support/JSONEncoder.hh:33–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31 /** In JSON5 mode, dictionary keys that are JavaScript identifiers will be unquoted. */
32 void setJSON5(bool j5) {_json5 = j5;}
33 void setCanonical(bool canonical) {_canonical = canonical;}
34
35 bool isEmpty() const {return _out.length() == 0;}
36 size_t bytesWritten() const {return _out.length();}

Callers 2

FLValue_ToJSONXFunction · 0.80
toJSONMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected