/// <summary> /// Copies existing property keys and values from an existing JSON object; does /// nothing if the value is not an object. /// </summary> /// <param name="fromObject">a JSON value</param> /// <returns>the same builder</returns> public ObjectBuilder Copy(LdValue fromObject) { foreach (var kv in fromObject.AsDictionary(Convert.Json)) { Set(kv.Key, kv.Value); } return(this); }