Examples of serializePrimitive()


Examples of com.netflix.zeno.diff.DiffRecord.serializePrimitive()

        if (field.getValue() instanceof GenericObject) {
            rec.setTopLevelSerializerName(fieldValue.getObjectType());
            ((NFTypeSerializer<Object>) diffFramework.getSerializer(fieldValue.getObjectType())).serialize(fieldValue.getActualObject(), rec);
        } else {
            rec.setTopLevelSerializerName("primitive");
            rec.serializePrimitive("value", field.getValue());
        }
        return rec;
    }

}
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.