Skip to content

Conversation

@hqsz
Copy link
Contributor

@hqsz hqsz commented Aug 15, 2019

Hello :) I use cJSON very well, but i found cJSON don't have getNumberValue.
So I add it. If cJSON object is not number type. I return Nan(not a number).

And i also follow Coding style which is in CONTRIBUTING.md.
At last i Add Unit Test to misc_tests.c, and test is successful.

Check and merge plz. thank u :)

@hqsz hqsz changed the title Develop Add getNumberValue function Aug 15, 2019
Copy link
Collaborator

@Alanscut Alanscut left a comment

Choose a reason for hiding this comment

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

Thanks your contributions, would you mind making some changes?

@Alanscut Alanscut merged commit 5437b79 into DaveGamble:develop Apr 2, 2020
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.

3 participants