Add new JsonType and function #16

Open
Hossein-M98 wants to merge 2 commits from MahdaSystem/master into master
Hossein-M98 commented 2023-10-25 03:58:13 -05:00 (Migrated from github.com)

Hello
Please check the changes and accept my pull request.
Thanks

Hello Please check the changes and accept my pull request. Thanks
magicrub (Migrated from github.com) reviewed 2025-07-07 18:53:12 -05:00
@ -287,11 +287,13 @@ static char* numValue( char* ptr, json_t* property ) {
if ( JSON_INTEGER == property->type ) {
magicrub (Migrated from github.com) commented 2025-07-07 18:53:12 -05:00

since it's a bool then it should compare to false.. might as well use ! which is used everywhere else

        if ( !negative )
since it's a bool then it should compare to false.. might as well use ! which is used everywhere else ```suggestion if ( !negative ) ```
Hossein-M98 commented 2025-07-08 03:55:38 -05:00 (Migrated from github.com)

Thank you magicrub. However, in the C language, it doesn't matter which one is used.

Thank you [magicrub](https://github.com/magicrub). However, in the C language, it doesn't matter which one is used.
This pull request is broken due to missing fork information.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'MahdaSystem/master:MahdaSystem/master'
git switch 'MahdaSystem/master'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'master'
git merge --no-ff 'MahdaSystem/master'
git switch 'MahdaSystem/master'
git rebase 'master'
git switch 'master'
git merge --ff-only 'MahdaSystem/master'
git switch 'MahdaSystem/master'
git rebase 'master'
git switch 'master'
git merge --no-ff 'MahdaSystem/master'
git switch 'master'
git merge --squash 'MahdaSystem/master'
git switch 'master'
git merge --ff-only 'MahdaSystem/master'
git switch 'master'
git merge 'MahdaSystem/master'
git push origin 'master'
Sign in to join this conversation.
No reviewers
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
gh-rafagafe/tiny-json!16
No description provided.