Decode a JSON string into some datatype.
struct User { @JsonProperty("user_name") string userName; } string json = `{"user_name": "John Smith"}`; auto decoded = json.decodeJson!User; assert(decoded == User("John Smith"));
See Implementation
Decode a JSON string into some datatype.