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

JSON strings should be enclosed in double quotes #34

Closed
tuor713 opened this issue Jul 21, 2009 · 3 comments
Closed

JSON strings should be enclosed in double quotes #34

tuor713 opened this issue Jul 21, 2009 · 3 comments
Labels

Comments

@tuor713
Copy link

tuor713 commented Jul 21, 2009

Currently, lift appears to generate JSON string values enclosed in single quotes such as ['hello', 'world']. Although this is valid for JavaScript strings, the same is not true for JSON strings, which must (for strict parsers) always be encloded in double quotes.

This occurred with lift 1.0 and server generated JSON via the JsonResponse class.

@dpp
Copy link
Member

dpp commented Jul 22, 2009

This is changed in Lift 1.1. Please use 1.1-SNAPSHOT

@github-importer
Copy link

Imported from GitHub: http://github.com/dpp/liftweb/issues/34/find

@github-importer
Copy link

Imported from Assembla: http://www.assembla.com/spaces/liftweb/tickets/34

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants