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

Update to new JSON library #7

Open
finger563 opened this issue Dec 27, 2017 · 5 comments
Open

Update to new JSON library #7

finger563 opened this issue Dec 27, 2017 · 5 comments
Assignees

Comments

@finger563
Copy link
Member

much better use in code, see here

@AWatk
Copy link
Member

AWatk commented Dec 27, 2017

https://github.com/nlohmann/json#tofrom-strings

allows the same user configuration setup to work with the new library

@AWatk
Copy link
Member

AWatk commented Dec 27, 2017

Basic usage section explains the importance of using the at() function instead of the [] operator for value retrieval. at() will throw an exception instead of giving undefined behavior in the case that a key does not exist.

https://github.com/nlohmann/json#basic-usage

@p-ranav
Copy link
Member

p-ranav commented Dec 27, 2017

I'm glad y'all are moving to this.

@finger563
Copy link
Member Author

*we're - FTFY

@AWatk
Copy link
Member

AWatk commented Dec 27, 2017

image

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

No branches or pull requests

3 participants