json-joy
json-joy copied to clipboard
Porting to C++, Python and Elixir
Hi,
I want to port abstract Replicated Growable Array for Godot Engine c++, python for blender and for elixir for my game back-end for merging game scene trees that have been "serialized" and aren't live objects.
You said:
Each JsonNode represents a structural unit of a JSON document. It is like an AST node, where each node has one of the following types: "object", "array", "string", "number", "boolean", and "null".
Do you think it's feasible to merge two structs given we have a unique names in a document and we can get accurate monotonic time.
Python has dictionaries (https://docs.python.org/3/tutorial/datastructures.html#dictionaries).
Godot Engine has dictionaries (https://docs.godotengine.org/en/stable/classes/class_dictionary.html)
and elixir has structs https://elixir-lang.org/getting-started/structs.html.
Looking for a map of the project, and some guidance.
Hey @fire, I don't think I will be able to help you with the details of your implementation. But in general, we have published JSON CRDT specification, which anyone can use to port it to other languages:
Thanks