You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Greetings! First off I love what you are all doing. I have a few suggestions / comments for you.
One thing I usually always do is use the methodology presented as is except for the conversions. I manipulate those in various ways. One way is as follows below. It would be nice to be able to create templates to make adjustments like this. I have a markup language I wrote that does this for me however It is still an extra step.
My second recommendation would be to allow for a zip file upload that would then create a zip output with all the classes. Incorporated with a web service this could really make automation awesome and could lead to runtime compilations and modifications.
Anyways 2cents worth. Love everything you are doing!!!
public class SomeData
{
[JsonProperty("base-method", NullValueHandling = NullValueHandling.Ignore)]
public string BaseMethod { get; set; }
[JsonProperty("base-config", NullValueHandling = NullValueHandling.Ignore)]
public BaseConfig BaseConfig { get; set; }
//Static Method However I have Incorporated this into the constructor on some occasions as well.
public static SomeDataFromJson(string json) => JsonConvert.DeserializeObject<SomeData>(json, JSONConverter.Settings);
// Non Static Method
public string ToJson() => JsonConvert.SerializeObject(this, JSONConverter.Settings);
}
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Greetings! First off I love what you are all doing. I have a few suggestions / comments for you.
One thing I usually always do is use the methodology presented as is except for the conversions. I manipulate those in various ways. One way is as follows below. It would be nice to be able to create templates to make adjustments like this. I have a markup language I wrote that does this for me however It is still an extra step.
My second recommendation would be to allow for a zip file upload that would then create a zip output with all the classes. Incorporated with a web service this could really make automation awesome and could lead to runtime compilations and modifications.
Anyways 2cents worth. Love everything you are doing!!!
public class SomeData
{
[JsonProperty("base-method", NullValueHandling = NullValueHandling.Ignore)]
public string BaseMethod { get; set; }
Beta Was this translation helpful? Give feedback.
All reactions