Skip to content
This repository has been archived by the owner on Mar 23, 2021. It is now read-only.

Stringify throws error on empty array if type is "object" #9

Open
tscheburaschka opened this issue May 16, 2017 · 0 comments
Open

Stringify throws error on empty array if type is "object" #9

tscheburaschka opened this issue May 16, 2017 · 0 comments
Labels

Comments

@tscheburaschka
Copy link

Stringify throws an error when trying to serialize an empty Matlab array and the corresponding schema.type is set to "object".
Example:
schema.json: { "type": "object"}
payload.m: [] (empty double)
throws error in JSON.validate() line 124.

tscheburaschka pushed a commit to tscheburaschka/ansatz27 that referenced this issue May 16, 2017
@tscheburaschka tscheburaschka changed the title Stringify thows error on empty array if type is "object" Stringify throws error on empty array if type is "object" May 19, 2017
@decatur decatur added the bug label May 19, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants