blob: f000dc2de5039f55c2a82a9f412fada2fa7c55fd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
//
// MCJSON.h
// hermes
//
// Created by DINH Viêt Hoà on 4/8/13.
// Copyright (c) 2013 MailCore. All rights reserved.
//
#ifndef MAILCORE_MCJSON_H
#define MAILCORE_MCJSON_H
#include <MailCore/MCObject.h>
#include <MailCore/MCHashMap.h>
#include <MailCore/MCArray.h>
#include <MailCore/MCValue.h>
#include <MailCore/MCString.h>
#include <MailCore/MCData.h>
#ifdef __cplusplus
namespace mailcore {
class Null;
class MAILCORE_EXPORT JSON {
public:
static String * objectToJSONString(Object * object);
static Data * objectToJSONData(Object * object);
static Object * objectFromJSONString(String * json);
static Object * objectFromJSONData(Data * json);
};
}
#endif
#endif /* defined(__hermes__MCJSON__) */
|