mirror of
https://github.com/nasa/trick.git
synced 2024-12-30 09:58:53 +00:00
22 lines
525 B
C++
22 lines
525 B
C++
|
/*************************************************************************
|
||
|
PURPOSE: (Represent Websocket variable server connection.)
|
||
|
LIBRARY DEPENDENCIES:
|
||
|
( (../src/WSSession.o))
|
||
|
**************************************************************************/
|
||
|
#ifndef SIMPLEJSON_HH
|
||
|
#define SIMPLEJSON_HH
|
||
|
|
||
|
#include <vector>
|
||
|
|
||
|
class Member {
|
||
|
public:
|
||
|
const char* key;
|
||
|
const char* valText;
|
||
|
int type;
|
||
|
Member(const char *k, const char *v, int t);
|
||
|
};
|
||
|
|
||
|
std::vector<Member*> parseJSON( const char *json_s);
|
||
|
|
||
|
#endif
|