-
Notifications
You must be signed in to change notification settings - Fork 33
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
6 Usage Examples for JSON - Part 1 #331
base: usage-examples
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for splashkit-usage-examples ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've reviewed this PR and the implementation of each usage examples is clear and showcases each functions. Although there is some adjustments to be made:
- In the
free_json
C# OOP example, there is a naming error at line 13 where it should be json rather than json1 to match the declared variable. - In the
json_from_color
C# Top Level example, I believe it should be COLOR_PURPLE() rather than COLOR_PURPLE at line 6. - I've looked at the text files and thought that maybe the function links to API pages could be capitalized to match the rest of the usage examples.
Made the changes, for |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've reviewed this usage example and have tested each implementation of the program across different languages.
The code is well-structured and is consistent throughout each implementations. I approved of this PR.
Checklist
- Code uses SplashKit functions
- Code demonstrates uses of the functions
- Python code ran as expected.
- C# OOP code ran as expected.
- C# Top Level code ran as expected
- C++ Code ran as expected
Files required
- Python code
- C# OOP code
- C# Top Level code
- C++ Code
- Screenshot of the program running
- Title and description
Created JSON functions for -
create_json
,create_json_from_string
,free_all_json
,free_json
,json_count_keys
, andjson_from_color
.These all show simple ways of using these functions all by creating a json object within the code and then doing the specific function.
Files Included (For all functions)
Usage Example Checks