Package org.rascalmpl.library.lang.json.io

Examples of org.rascalmpl.library.lang.json.io.IValueAdapter


    this.values = values;
  }


  public IString toJSON(IValue value) {
    IValueAdapter adap = new IValueAdapter();
    Gson gson = new GsonBuilder()
    .registerTypeAdapter(IValue.class, adap)
    .enableComplexMapKeySerialization()
    .setDateFormat(DateFormat.LONG)
    .setFieldNamingPolicy(FieldNamingPolicy.UPPER_CAMEL_CASE)
View Full Code Here

TOP

Related Classes of org.rascalmpl.library.lang.json.io.IValueAdapter

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.