EmailScheduler/MailCore.framework/Versions/A/Headers/MCJSON.h

39 lines
764 B
C
Raw Normal View History

2014-09-13 17:13:32 -05:00
//
// 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 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__) */