x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

[Closed] [4.7.6]Property names are changed by UStructToJsonObjectString.

Hi, there: I'm trying Json-Request-Response in C++, and I use FJsonObjectConverter::UStructToJsonObjectString to convert a struct to a string, and found this api has an issue. this is my struct:alt text this is my code:alt text after conversion, the json string becomes:alt text the member variable "UserAccount" becomes "userAccount", "GUID" becomes "gUId", and "Password" becomes "password".

Cause I convert this string to struct in server by Java, the Json library in Java can't identify the struct if the case of member variable's name doesn't match.

Any advice will be thankful.

Product Version: Not Selected
Tags:
struct.png (17.3 kB)
code.png (20.0 kB)
jsonstring.png (8.0 kB)
more ▼

asked May 11 '15 at 09:45 AM in Bug Reports

avatar image

ZenTechEntertaiment
39 6 13 24

(comments are locked)
10|2000 characters needed characters left

The question has been closed May 11 '15 at 05:19 PM by Ben Halliday for the following reason:

Duplicate Question: https://answers.unrealengine.com/questions/225784/property-names-are-changed-by-ustructtojsonobjects.html


1 answer: sort voted first
more ▼

answered May 11 '15 at 05:19 PM

(comments are locked)
10|2000 characters needed characters left

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question