use of com.ociweb.pronghorn.util.TrieParser in project PronghornPipes by oci-pronghorn.
the class JSONParser method structureObjectEndParser.
private static TrieParser structureObjectEndParser() {
TrieParser trie = new TrieParser(128, 1, true, false);
trie.setValue(JSONConstants.endObject, END_OBJECT);
trie.setValue(JSONConstants.valueSeparator, VALUE_SEPARATOR);
return trie;
}
use of com.ociweb.pronghorn.util.TrieParser in project PronghornPipes by oci-pronghorn.
the class JSONStreamParser method stringEndParser.
private static TrieParser stringEndParser() {
TrieParser trie = new TrieParser(256, 1, false, true);
trie.setValue(JSONConstants.string5C1, STRING_PART_5C);
trie.setValue(JSONConstants.string5C2, STRING_END_5C);
trie.setValue(JSONConstants.string2F1, STRING_PART_2F);
trie.setValue(JSONConstants.string2F2, STRING_END_2F);
trie.setValue(JSONConstants.string621, STRING_PART_62);
trie.setValue(JSONConstants.string622, STRING_END_62);
trie.setValue(JSONConstants.string661, STRING_PART_66);
trie.setValue(JSONConstants.string662, STRING_END_66);
trie.setValue(JSONConstants.string6E1, STRING_PART_6E);
trie.setValue(JSONConstants.string6E2, STRING_END_6E);
trie.setValue(JSONConstants.string721, STRING_PART_72);
trie.setValue(JSONConstants.string722, STRING_END_72);
trie.setValue(JSONConstants.string741, STRING_PART_74);
trie.setValue(JSONConstants.string742, STRING_END_74);
trie.setValue(JSONConstants.string751, STRING_PART_75);
trie.setValue(JSONConstants.string752, STRING_END_75);
trie.setValue(JSONConstants.string221, STRING_PART_22);
trie.setValue(JSONConstants.string222, STRING_END_22);
return trie;
}
Aggregations