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

Certain properties entries produce invalid JSON #8

Closed
muhrin opened this issue May 25, 2017 · 1 comment
Closed

Certain properties entries produce invalid JSON #8

muhrin opened this issue May 25, 2017 · 1 comment

Comments

@muhrin
Copy link

muhrin commented May 25, 2017

Certain queries, e.g. {"classes": "binary", "sgs":"216", "props": "acceptor to donor concentration", "formulae":"InSb"}

produce entries such as:

       {
            "sample":{
                "material":{
                ...
                },
                "measurement":[
                    {
                        "property":{
                            ...
                            "scalar":
                            }
                        }
                    ]
                },
                "version":"0.0.5"
            }

where the "saralar" field has no value. This is invalid JSON and will result in a parser failure.

I guess there is some problem with the value in which case would it be possible to emit null in it's place so parsers pass?

@blokhin
Copy link
Member

blokhin commented May 25, 2017

Yes, thanks, this is known and fixed in 0.0.6 (to be released in two days).

@blokhin blokhin closed this as completed May 25, 2017
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

2 participants