matlab_jsonc
Version 1.0.1 (158 KB) by
Mango Feng
Remove comments and tail comma for a json string for matlab to decode.
Remove comments and tail comma of a json string. Example:
json string with comments and tail comma
{
/* comments
*/
"a": 1, // comments
}
remove comments and tail comma
{
"a": 1
}
To remove comments and tail comma, call function as
output_string = MgRemoveJsoncComments(input_string);
Cite As
Mango Feng (2026). matlab_jsonc (https://github.com/ustcfdm/matlab_jsonc), GitHub. Retrieved .
MATLAB Release Compatibility
Created with
R2019a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > External Language Interfaces > Web Services with MATLAB > Call Web Services from MATLAB Using HTTP >
Find more on Call Web Services from MATLAB Using HTTP in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
bin
test
Versions that use the GitHub default branch cannot be downloaded
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.1 | Revise typo. |
|
|
| 1.0.0 |
|
To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.
