private FeatureStructure createFS()

in src/main/java/org/apache/uima/json/jsoncas2/ser/FeatureStructureDeserializer.java [247:257]


  private FeatureStructure createFS(JsonParser aParser, DeserializationContext aCtxt, int aFsId,
          CAS aCas) throws IOException {
    String typeName = aParser.getValueAsString();
    TypeSystem ts = aCas.getTypeSystem();
    Type t = ts.getType(typeName);
    if (t == null) {
      throw new JsonParseException(aParser, "Type not found in type system: " + typeName);
    }

    return aCas.createFS(t);
  }