loro/crates/loro-wasm/tests
Zixuan Chen 2693db3e05
feat: implement toJsonWithReplacer method for LoroDoc to customize JSON serialization (#582)
- Added `toJsonWithReplacer` method to `LoroDoc` allowing custom serialization of document values.
- Introduced new type `TreeNodeShallowValue` for tree node representation.
- Enhanced tests to cover various scenarios for the new JSON serialization method, including handling of nested containers and value transformations.
2024-12-16 11:53:08 +08:00
..
__snapshots__ fix: fractional index is enabled by default now (#561) 2024-11-18 14:32:56 +08:00
awareness.test.ts Refactor: merge two js packages (#532) 2024-10-29 21:46:56 +08:00
basic.test.ts feat: add getShallowValue for each container (#581) 2024-12-15 13:34:07 +08:00
checkout.test.ts Refactor: merge two js packages (#532) 2024-10-29 21:46:56 +08:00
compatibility.test.ts Refactor: merge two js packages (#532) 2024-10-29 21:46:56 +08:00
counter.test.ts Refactor: merge two js packages (#532) 2024-10-29 21:46:56 +08:00
detached_editing.test.ts Refactor: merge two js packages (#532) 2024-10-29 21:46:56 +08:00
event.test.ts Refactor: merge two js packages (#532) 2024-10-29 21:46:56 +08:00
gc.test.ts Refactor: merge two js packages (#532) 2024-10-29 21:46:56 +08:00
issue.test.ts Refactor: merge two js packages (#532) 2024-10-29 21:46:56 +08:00
json.test.ts feat: implement toJsonWithReplacer method for LoroDoc to customize JSON serialization (#582) 2024-12-16 11:53:08 +08:00
misc.test.ts Refactor: merge two js packages (#532) 2024-10-29 21:46:56 +08:00
movable_list.test.ts Refactor: merge two js packages (#532) 2024-10-29 21:46:56 +08:00
richtext.test.ts Refactor: merge two js packages (#532) 2024-10-29 21:46:56 +08:00
text.ts Refactor: merge two js packages (#532) 2024-10-29 21:46:56 +08:00
tree.test.ts feat: impl toJSON for LoroTreeNode (#538) 2024-11-05 20:11:03 +08:00
type.test.ts refactor: rename importUpdateBatch into importBatch & refine type (#580) 2024-12-15 12:17:41 +08:00
undo.test.ts Refactor: merge two js packages (#532) 2024-10-29 21:46:56 +08:00
version.test.ts fix: get correct encode blob info (#545) 2024-11-09 15:43:11 +08:00