Search in sources :

Example 1 with MapResolveFieldDeserializer

use of com.alibaba.fastjson.parser.deserializer.MapResolveFieldDeserializer in project uavstack by uavorg.

the class DefaultJSONParser method checkMapResolve.

@SuppressWarnings("rawtypes")
public void checkMapResolve(Map object, String fieldName) {
    if (resolveStatus == NeedToResolve) {
        MapResolveFieldDeserializer fieldResolver = new MapResolveFieldDeserializer(object, fieldName);
        ResolveTask task = getLastResolveTask();
        task.setFieldDeserializer(fieldResolver);
        task.setOwnerContext(context);
        setResolveStatus(DefaultJSONParser.NONE);
    }
}
Also used : MapResolveFieldDeserializer(com.alibaba.fastjson.parser.deserializer.MapResolveFieldDeserializer)

Aggregations

MapResolveFieldDeserializer (com.alibaba.fastjson.parser.deserializer.MapResolveFieldDeserializer)1