Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2026-01-17 14:06:21 +03:00
parent f3287ca999
commit 6977c4fd5c
2 changed files with 11 additions and 2 deletions

View File

@ -188,9 +188,8 @@ Extensions to JSON:
### Structural paths
### Recursion
### Recursion and internal linking
If an object is encountered
### null types

View File

@ -8,6 +8,16 @@
* - get/set object by path
* Object.get(..) / Object.set(..)
*
* XXX try removing paths from refs and use the same indexes, the same
* system as with functions...
* + this will make the refs shorter
* - the deserialization would require the same "seen" logic as
* serialization -- reuse a function
* - the "seen" logic can depend on settings, i.e. would either
* require a sable algorithm that would be settings-agnostic
* a-la paths (preferred), or a way to transfer serialization
* settings...
*
* XXX the current path implementation is fully complient to the task at
* hand but it will not suite the diff task as there is no way to know
* the meaning of the path element without seeing the object (map/set