[typed-array-buffer-schema] How to define a model contains a scalar array in json? #276
Unanswered
nobuh
asked this question in
Help / Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, thanks for the nice module. It pretty works well.
However, I'm struggling with defining the model contains a scalar array in json.
For example, I'd like to encode the json like this.
With this model
The buffer contains fewer bytes for 3 float32 values and it shows empty object.
If the json like this, I can handle this vector because the array contains the json, not values and the json has "s" property for the each values.
Unfortunetelly I have to deal with the first example json that has simple array.
I'd like to know the right way to encode that json. I'm happy if you can help me. Thanks.
Beta Was this translation helpful? Give feedback.
All reactions