Structure to JSON

버전 1.0.0.0 (3.42 KB) 작성자: Lior Kirsch
Saves a structure in JSON format
다운로드 수: 1.9K
업데이트 날짜: 2015/5/23

라이선스 보기

Saves the values in the structure 'data' to a file using JSON format.
Example:
data.name = 'chair';
data.color = 'pink';
data.metrics.height = 0.3;
data.metrics.width = 1.3;
saveJSONfile(data, 'out.json');

Output 'out.json':
{
"name" : "chair",
"color" : "pink",
"metrics" : {
"height" : 0.3,
"width" : 1.3
}
}

인용 양식

Lior Kirsch (2025). Structure to JSON (https://kr.mathworks.com/matlabcentral/fileexchange/50965-structure-to-json), MATLAB Central File Exchange. 검색 날짜: .

MATLAB 릴리스 호환 정보
개발 환경: R2014b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 JSON Format에 대해 자세히 알아보기
태그 태그 추가
도움

도움 준 파일: Structure and object to JSON

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0.0