Esempio n. 1
0
 private Map<String, Object> toMap(Object field) {
   if (field instanceof Value) {
     Value value = (Value) field;
     return (Map) value.toValue();
   } else {
     return (Map) field;
   }
 }
Esempio n. 2
0
 private List<String> toList(Object include) {
   if (include instanceof Value) {
     Value value = (Value) include;
     return (List) value.toValue();
   } else {
     return (List) include;
   }
 }
Esempio n. 3
0
  public Object parse(char[] chars) {
    lastIndex = chars.length - 1;
    __index = 0;
    charArray = chars;

    Value value = decodeValuePlist();
    if (value.isContainer()) {
      return value.toValue();
    } else {
      return value;
    }
  }