pykson icon indicating copy to clipboard operation
pykson copied to clipboard

pykson: Check if attribute is a JsonObject for ObjectListField

Open patrickelectric opened this issue 3 years ago • 2 comments

Signed-off-by: Patrick José Pereira [email protected]

patrickelectric avatar Sep 12 '22 13:09 patrickelectric

I don't understand the usecase for JsonObject, why shouldn't one use the ObjectField? Can you please elaborate on that?

sinarezaei avatar Sep 18 '22 11:09 sinarezaei

I don't understand the usecase for JsonObject, why shouldn't one use the ObjectField? Can you please elaborate on that?

On our tests, it fail to deserialize nested/deep jsonobjects, it was necessary to check, otherwise it detects it as a dict. I'm in the middle of a vacation right now, but you can check the others PRs.

patrickelectric avatar Sep 18 '22 12:09 patrickelectric