@Override /* ReaderParserSession */ protected <K,V> Map<K,V> doParseIntoMap(ParserPipe pipe, Map<K,V> m, Type keyType, Type valueType) throws Exception { try (UonReader r = getUonReader(pipe, true)) { if (r.peekSkipWs() == '?') r.read(); m = parseIntoMap2(r, m, getClassMeta(Map.class, keyType, valueType), null); return m; } }
@Override /* ReaderParserSession */ protected <K,V> Map<K,V> doParseIntoMap(ParserPipe pipe, Map<K,V> m, Type keyType, Type valueType) throws Exception { try (UonReader r = getUonReader(pipe, true)) { if (r.peekSkipWs() == '?') r.read(); m = parseIntoMap2(r, m, getClassMeta(Map.class, keyType, valueType), null); return m; } }
@Override /* ReaderParserSession */ protected <K,V> Map<K,V> doParseIntoMap(ParserPipe pipe, Map<K,V> m, Type keyType, Type valueType) throws Exception { try (UonReader r = getUonReader(pipe, true)) { if (r.peekSkipWs() == '?') r.read(); m = parseIntoMap2(r, m, getClassMeta(Map.class, keyType, valueType), null); return m; } }
private <K,V> Map<K,V> parseIntoMap2(UonReader r, Map<K,V> m, ClassMeta<?> type, Object outer) throws Exception { ClassMeta<K> keyType = (ClassMeta<K>)(type.isArgs() || type.isCollectionOrArray() ? getClassMeta(Integer.class) : type.getKeyType());
private <K,V> Map<K,V> parseIntoMap2(UonReader r, Map<K,V> m, ClassMeta<?> type, Object outer) throws Exception { ClassMeta<K> keyType = (ClassMeta<K>)(type.isArgs() || type.isCollectionOrArray() ? getClassMeta(Integer.class) : type.getKeyType());
private <K,V> Map<K,V> parseIntoMap2(UonReader r, Map<K,V> m, ClassMeta<?> type, Object outer) throws Exception { ClassMeta<K> keyType = (ClassMeta<K>)(type.isArgs() || type.isCollectionOrArray() ? getClassMeta(Integer.class) : type.getKeyType());
parseIntoMap2(r, m, getClassMeta(Map.class, String.class, Object.class), outer); if (m.containsKey("_value")) o = m.get("_value"); parseIntoMap2(r, m, getClassMeta(Map.class, String.class, Object.class), outer); if (m.containsKey(getBeanTypePropertyName(eType))) o = cast(m, null, eType);
parseIntoMap2(r, m, getClassMeta(Map.class, String.class, Object.class), outer); if (m.containsKey("_value")) o = m.get("_value"); parseIntoMap2(r, m, getClassMeta(Map.class, String.class, Object.class), outer); if (m.containsKey(getBeanTypePropertyName(eType))) o = cast(m, null, eType);
parseIntoMap2(r, m, getClassMeta(Map.class, String.class, Object.class), outer); if (m.containsKey("_value")) o = m.get("_value"); parseIntoMap2(r, m, getClassMeta(Map.class, String.class, Object.class), outer); if (m.containsKey(getBeanTypePropertyName(eType))) o = cast(m, null, eType);