wasm-micro-runtime
wasm-micro-runtime copied to clipboard
nested json object not supported when convert json to attr_container
when send request with a json file payload. nested object in the json file is not supported. What's the reason? is it difficult to calculate the size of the object?
@amboowang it is not easy to implement the nested attr_container. The attr_container itself can be serialized into a byte array, can you create another attr_container for the nested object, serialize it into a byte array, and then set the byte array to the main attr_container?
We may use cbor to replace attr_container in the future.