internal override ValueNode CreateSerializerOverride(ValueNode parent) { if (ChildType.GetTypeInfo().IsPrimitive) { return(new PrimitiveListValueNode(parent, Name, this)); } return(new ListValueNode(parent, Name, this)); }
public override ValueNode CreateSerializerOverride(ValueNode parent) { if (ChildType.GetTypeInfo().IsPrimitive) { return(new PrimitveArrayValueNode(parent, Name, this)); } return(new ArrayValueNode(parent, Name, this)); }