private JObject WriteMicroservice(Microservice microservice) { return(new JObject( new JProperty("id", new JValue(microservice.Id.ToString())), new JProperty("name", new JValue(microservice.Id.ToString())), new JProperty("features", new JArray(microservice.Select(WriteFeature))) )); }
private JObject WriteMicroservice(Microservice microservice) { return(new JObject( new JProperty("features", new JArray(microservice.Select(WriteFeatureInstance))) )); }