Package com.sdicons.json.model

Examples of com.sdicons.json.model.JSONString


    @Override
    public JSONValue toJSON(Object aPojo) throws MapperException {
  AjSelectionRange range = (AjSelectionRange) aPojo;
  final JSONObject out = new JSONObject();
  out.getValue().put("from", new JSONString(String.valueOf(range.getFrom())));
  out.getValue().put("to", new JSONString(String.valueOf(range.getTo())));
  return out;
    }
View Full Code Here

TOP

Related Classes of com.sdicons.json.model.JSONString

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.