User Tools

Site Tools


programming:cpp:json

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
programming:cpp:json [2022/03/29 12:53]
odagawa
programming:cpp:json [2022/04/11 14:23] (current)
odagawa
Line 1: Line 1:
 =====JSON===== =====JSON=====
  
-JSON は JavaScript Object Notation 記法のこと.+JSON は JavaScript Object Notation 記法のこと.\\
 人間にも機械にもそれなりの可読性を持ったファイル形式である. 人間にも機械にもそれなりの可読性を持ったファイル形式である.
  
Line 42: Line 42:
 </code> </code>
  
-<code cpp>+<code cpp TestPicojson.cpp> 
 +#include "picojson.h" 
 +#include <boost/filesystem.hpp> 
 +#include <fstream> 
 + 
 +namespace fs = boost::filesystem; 
 void ReadJsonData(t2l_param &param, const std::string json_file_path) { void ReadJsonData(t2l_param &param, const std::string json_file_path) {
  
programming/cpp/json.1648558398.txt.gz · Last modified: 2022/03/29 12:53 by odagawa