| 802 | } |
| 803 | |
| 804 | bool FLEncodeJSONDelta(FLValue old, FLValue nuu, FLEncoder jsonEncoder) FLAPI { |
| 805 | try { |
| 806 | JSONEncoder *enc = jsonEncoder->jsonEncoder.get(); |
| 807 | precondition(enc); //TODO: Support encoding to Fleece |
| 808 | JSONDelta::create(old, nuu, *enc); |
| 809 | return true; |
| 810 | } catch (const std::exception &x) { |
| 811 | jsonEncoder->recordException(x); |
| 812 | return false; |
| 813 | } |
| 814 | } |
| 815 | |
| 816 | |
| 817 | FLSliceResult FLApplyJSONDelta(FLValue old, FLSlice jsonDelta, FLError *outError) FLAPI { |
no test coverage detected