Package com.opengamma.web.json

Examples of com.opengamma.web.json.FudgeMsgJSONReader


   * @param json the config document in JSON
   * @return the configuration object
   */
  protected Object parseJSON(String json) {
    s_logger.debug("converting JSON to java: " + json);
    FudgeMsgJSONReader fudgeJSONReader = new FudgeMsgJSONReader(getFudgeContext(), new StringReader(json));
   
    FudgeMsg fudgeMsg = fudgeJSONReader.readMessage();
    s_logger.debug("converted FudgeMsg: " + fudgeMsg);
   
    return new FudgeDeserializer(getFudgeContext()).fudgeMsgToObject(fudgeMsg);
   
  }
View Full Code Here

TOP

Related Classes of com.opengamma.web.json.FudgeMsgJSONReader

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.