Closed lexer closed 1 year ago
@lexer Hi,
json that you provided violates specification, at least its 1.0 version.
That is why payload
property inside attributes
is treated as custom property and not parsed.
But you have two ways to work with such json:
But better will be fix the api, because it does not meet the specification (everything that currently inside payload
prop shout be placed in the json root)
Example:
Event - root JSON API object Each event has payload - nested JSON API object