35#ifndef API_MIP_JSON_DELEGATE_H_
36#define API_MIP_JSON_DELEGATE_H_
46typedef mip::DelegateResponse<mip::JsonDocument>
JsonResult;
64 virtual mip::JsonResult
Parse(
const std::string& value)
const = 0;
virtual mip::JsonResult CreateJsonObjectDocument() const =0
Creates a blank json document with an Object as the root.
virtual mip::JsonResult Parse(const std::string &value) const =0
parse value as json document.
A simple framework to create a response to delegate calls that can result in error.
MIP_NAMESPACE_BEGIN typedef mip::DelegateResponse< mip::JsonDocument > JsonResult
A file containing the JsonDocument interface.