/// <summary> /// Copy constructor.<br> /// Initializes the components list with a deep copy of the source components list. </summary> /// <param name="source"> a field instance to copy /// @since 7.7 </param> public static Field15P newInstance(Field15P source) { Field15P cp = new Field15P(); cp.Components = new List <>(source.Components); return(cp); }
public static Field15P fromJson(string json) { Field15P field = new Field15P(); JsonParser parser = new JsonParser(); JsonObject jsonObject = (JsonObject)parser.parse(json); return(field); }