Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does the promelo-protobuf support mix-type array? #7

Open
xykong opened this issue Jun 18, 2014 · 0 comments
Open

Does the promelo-protobuf support mix-type array? #7

xykong opened this issue Jun 18, 2014 · 0 comments

Comments

@xykong
Copy link

xykong commented Jun 18, 2014

  • For javascript array, we can build an array with mix-type values like [1,2,3,'one','two',three'], and the json string will looks like
 {"users":[[1,"name"],[2,"name"],[3,"name"]]}.
  • My question is does pomelo-protobuf support this json protos?
    Or do I need to convert the json to the format like
{"users":[{"id":1,"name":"name"},{"id":2,"name":"name"},{"id":3,"name":"name"}]}

to use the promelo-protobuf?

Thanks for help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant