Examples of ScriptConverter


Examples of railo.runtime.converter.ScriptConverter

      if(UDF.RETURN_FORMAT_JSON==argumentsCollectionFormat)  {
        str = new JSONConverter(true).serialize(pc,args,false);
        formfields.put("argumentCollectionFormat", "json");
      }
      else if(UDF.RETURN_FORMAT_SERIALIZE==argumentsCollectionFormat)  {
        str = new ScriptConverter().serialize(args);
        formfields.put("argumentCollectionFormat", "cfml");
      }
      else {
        str = new ScriptConverter().serialize(args); // Json interpreter in Railo also accepts cfscript
      }
    }
    catch (ConverterException e) {
      throw Caster.toPageException(e);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.