Description

If the type of a property in a Json string doesn't match the expected type in the Json serializable class being created, then the value for that property will not be read in. However, FromJson still returns true, which can make debugging issues difficult, as it indicates no error has occurred.

Steps to Reproduce

As an example, you can create a Json string for a FReplayEventListItem, changing the values for Time1 and Time2 to be strings instead of ints. Then, use FReplayEventList::FromJson to build the event list item. FromJson will return true, but the Time1 and Time2 will not be correct.

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-135106 in the post.

1
Login to Vote

Backlogged
CreatedNov 16, 2021
UpdatedOct 25, 2024
View Jira Issue