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
Is there a way to use jackson-js to apply either a JSON string or an already transformed JSON plain javascript object to an existing object (typescript class) so that JSON properties are applied (copied / set) based on the @JsonProperty (or other descriptors within jackson-js)? (eg: ObjectMapper.apply(targetObject, "{ name: 'John', age: 45 }") ) where output "targetObject" then has all fields / properties with jackson-js descriptors values applied. (Apply should incorporate views and other jackson-js logic)
The text was updated successfully, but these errors were encountered:
Was looking for this exact solution. I already have an object created by the time my API call is sent, when it comes back, I'd like to simply populate the existing object (which already has multiple properties assigned and the object has been registered in a manager service, so it's locked down). Options for overwriting existing values, validating against existing values, or excluding already set values would be nice, too.
NodeJS
Is there a way to use jackson-js to apply either a JSON string or an already transformed JSON plain javascript object to an existing object (typescript class) so that JSON properties are applied (copied / set) based on the @JsonProperty (or other descriptors within jackson-js)? (eg: ObjectMapper.apply(targetObject, "{ name: 'John', age: 45 }") ) where output "targetObject" then has all fields / properties with jackson-js descriptors values applied. (Apply should incorporate views and other jackson-js logic)
The text was updated successfully, but these errors were encountered: