/// <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 Field199 newInstance(Field199 source) { Field199 cp = new Field199(); cp.Components = new List <>(source.Components); return(cp); }
public static Field199 fromJson(string json) { Field199 field = new Field199(); JsonParser parser = new JsonParser(); JsonObject jsonObject = (JsonObject)parser.parse(json); return(field); }