public static ConstructionMetadataRequest FromJson(JObject json)
 {
     return(new ConstructionMetadataRequest(NetworkIdentifier.FromJson(json["network_identifier"]),
                                            json.ContainsProperty("metadata") ? Metadata.FromJson(json["metadata"]) : null,
                                            json.ContainsProperty("options") ? Metadata.FromJson(json["options"]) : null,
                                            json.ContainsProperty("public_keys") ? (json["public_keys"] as JArray).Select(p => PublicKey.FromJson(p)).ToArray() : null));
 }
 public static ConstructionMetadataRequest FromJson(JObject json)
 {
     return(new ConstructionMetadataRequest(NetworkIdentifier.FromJson(json["network_identifier"]),
                                            Metadata.FromJson(json["options"])));
 }