how to upgrade from 10.x to 100.x. (FeatureSet.fromJson, FeatureSet.getGraphics();)

56
0
10-29-2019 01:19 PM
子杰盘
New Contributor

My version is 10.x, how can I upgrade the following code?
I have been confused for a long time. please help me.

String json = ".....";
org.codehaus.jackson.JsonFactory factory = new org.codehaus.jackson.JsonFactory();
org.codehaus.jackson.JsonParser jsonParser = factory.createJsonParser(json);
FeatureSet fs = FeatureSet.fromJson(jsonParser);
Graphic[] graphics = fs.getGraphics()

0 Kudos
0 Replies