public static JsonReader createFromStringNNT ( String str ) { try { JsonFactory factory = new JsonFactory ( ) ; JsonParser jsonParser = factory . createParser ( str ) ; return new JsonParserReader ( jsonParser ) ; } catch ( Exception ex ) { throw new JsonGeometryException ( ex . getMessage ( ) ) ; } }
Creates a JsonReader for the string . The nextToken is not called by this method .