-
First of all, I know a JSON text can be object or ARRAY, and we choose ARRAY way. But, when I trying to develop with AWS WebSocket API, AWS only support explain property of OBJECT as route key. So, will we support the OBJECT way serialize? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 9 replies
-
I don't understand the question: every single element of |
Beta Was this translation helpful? Give feedback.
-
@SunFulong If you mean that the whole WAMP message can be an object instead of an array as it is now — sorry, noway. |
Beta Was this translation helpful? Give feedback.
-
yes, true. it wouldn't make sense (it would be a different protocol), and it is not needed |
Beta Was this translation helpful? Give feedback.
-
If you're going to adopt the AWS ecosystem for your project, they may already have something similar to WAMP you could adopt. I am not familiar with the AWS tech stack. If the idea of adopting WAMP is not to be tied to a vendor's proprietary tech stack, perhaps you could add an intermediary layer that wraps the WAMP array message into an object? |
Beta Was this translation helpful? Give feedback.
@SunFulong If you mean that the whole WAMP message can be an object instead of an array as it is now — sorry, noway.