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

FIX illegal JSON in attributeFormat=object mode #2060

Merged

Conversation

fgalan
Copy link
Member

@fgalan fgalan commented Apr 20, 2016

}
break;

case ValueTypeNone:
effectiveValue = "null";
withoutQuotes = true;
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I could have used valueIsNumberOrBoolOrNull but that's too much, so I opted for withoutQuotes.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

withoutQuotes is ok.
isString (the negation) would be ok as well (I guess).

NTC

@kzangeli
Copy link
Member

LGTM, but merge with develop needed

@fgalan fgalan force-pushed the bug/2058_ilegal_json_attributeformat_object_with_numbers branch from 7bdbf4d to c8b1840 Compare April 20, 2016 15:37
--SHELL--

#
# 01. Create entity with not string types
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not string types ...
types that are not 'string' ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in 2acc01f

@kzangeli
Copy link
Member

LGTM, again :-)

@crbrox
Copy link
Member

crbrox commented Apr 20, 2016

LGTM

@crbrox crbrox merged commit 41c7911 into develop Apr 20, 2016
@fgalan fgalan deleted the bug/2058_ilegal_json_attributeformat_object_with_numbers branch June 3, 2016 16:25
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

Successfully merging this pull request may close these issues.

None yet

3 participants