Package com.alibaba.fastjson.support.odps.udf

Examples of com.alibaba.fastjson.support.odps.udf.JSONExtract.evaluate()



public class GetJSONObjectTest extends TestCase {
    public void test_udf() throws Exception {
        JSONExtract udf = new JSONExtract();
        String result = udf.evaluate("{\"id\":123,\"name\":\"wenshao\"}", "$");
        System.out.println(result);
    }
}
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.