C++ JSON IO

버전 2.0.0.0 (5.63 KB) 작성자: Oliver Woodford
Mex wrapper to C++ class for fast reading and writing of JSON files
다운로드 수: 649
업데이트 날짜: 2017/4/13

라이선스 보기

These function wrap Niels Lohmann's JSON for Modern C++ class into mex wrappers, for fast reading of JSON files into MATLAB variables, and writing MATLAB variables into JSON files.
JSON for Modern C++ must be downloaded separately from:
https://github.com/nlohmann/json

Mex these functions by calling:
mex json_read.cpp
and
mex json_write.cpp
Note that your C++ compiler must support C++11.

Example usage: var = json_read(filename)
IN:
filename - String of filename (if in current directory) or full or relative path to the JSON file to be read in.
OUT:
var - MATLAB interpretation of the JSON data.

인용 양식

Oliver Woodford (2024). C++ JSON IO (https://www.mathworks.com/matlabcentral/fileexchange/59166-c-json-io), MATLAB Central File Exchange. 검색 날짜: .

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

Community Treasure Hunt

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

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

Update description
Added json_write

1.0.0.0

Add new paragraph
Removed JSON library from file for licensing reasons. Must now be dowloaded separately.