Skip to content

Conversation

@totalgee
Copy link
Contributor

Issue this pull request references: #399

Changes proposed in this pull request

  • make to_json() with an empty Map, Vector or Dynamic_Object return a similar/compatible type (JSON object or array), rather than "null".
  • include the fix for to_json does not convert null values #381 (to_json() support for null values), so that can also be unit tested.
  • add unit test to validate to_json().

- fix issue ChaiScript#399.
- make to_json() with an empty Map, Vector or Dynamic_Object return a
  similar/compatible type (JSON object or array), rather than "null".
- include the fix for ChaiScript#381 (to_json() support for null values), so
  that can also be unit tested.
@lefticus lefticus merged commit bbaa6ed into ChaiScript:develop Feb 3, 2018
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.

2 participants