Thanks Joan. I did the failover and it is working as intending. I got problems with the JsonDecoder.Success in functions as you recommended posts back (Sep 27).
Uncaught (in promise): TypeError: Cannot read property 'toApiDTO' of undefined.
public static cvt= JsonDecoder.object<CoordinateValueType>({ latitude: JsonDecoder.failover(0, JsonDecoder.number), longitude: JsonDecoder.failover(0, JsonDecoder.number), altitude: JsonDecoder.failover(0, JsonDecoder.number), equals: JsonDecoder.succeed, toApiDTO: JsonDecoder.succeed, toString: JsonDecoder.succeed }, 'CoordinateValueType', { latitude: '_latitude', longitude: '_longitude', altitude: '_altitude', equals: 'equals', toApiDTO: 'toApiDTO', toString: 'toString' })
Best Hmendezm
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Thanks Joan.
I did the failover and it is working as intending. I got problems with the JsonDecoder.Success in functions as you recommended posts back (Sep 27).
Uncaught (in promise): TypeError: Cannot read property 'toApiDTO' of undefined.
Best
Hmendezm