Færdiggjort

Java - Traverse JSON nested object and replace the key name (escape dot to underscore)

I have unstructured JSON object ( nested object). Third party API will send lot of JSON files every day, so data is unstructured though JSON compliant. We can not assume some key/values will be there in data. I want to replace the dot symbol in key name with underscore. So it is a recursive call to the entire JSON object and find out deep down keys across all nested elements and get key name replaced with. I have Java Iterator to traverse all the items of JSON but within iterator, it is not allowed to change the key name, how ever it is allowed to change the value of those keys. So we may have to build new [login to view URL] object and reconstruct the entire JSON with replaced key name ( from . to underscore). So, I am looking for quick help to get this done.

If key is tried to be replaced with in the iterator, this exception is thrown ( as expected). So it can not be changed in the iterator and will have build new object.

Caused by: [login to view URL]: null

at [login to view URL]$[login to view URL]([login to view URL])

at [login to view URL]$[login to view URL]([login to view URL])

Evner: Java, Javascript, Software Arkitektur, XML

Se mere: java servlet json xml, nested object php5, traverse json array object javascript, json property name with dot, json escape hyphen, javascript create object from dot notation, lodash dot notation, javascript convert string to object reference, dot object, node object dot notation, javascript convert object to dot notation, prototype traverse json jquery, use event object detecting key, java function rotate 3d object, nested object list combobox flex, prototype traverse json object, replace key vaults, jtag xbox replace key vault, replace key vault jtag, java database json

Om arbejdsgiveren:
( 0 bedømmelser ) Alpharetta, United States

Projekt ID: #18321017

Tildelt til:

ThinkAndCo

Hi, We are a team of professional software developers and we have expertise in Java. Your requirement is pretty straightforward and it can be done within a day. I've already written the code. Below are sample inp Flere

$10 USD på 1 dag
(0 bedømmelser)
0.0

14 freelancere byder i gennemsnit $16 på dette job

PATechnology

Hi, I am interested for the project and have an experience in java. Thanks. .

$30 USD in 2 dage
(55 bedømmelser)
5.5
p4logics

Hello Sir, We are expert in java and json. please ping me we can start it right now. Will complete by today EOD. Thanks & Regards

$20 USD in 10 dage
(24 bedømmelser)
4.8
Hada36

Hello, Thank you very much post your project. I am very much interested on your [login to view URL] my Experience and Expertise I believe and very confident that I will be able to handle your project efficiently and effect Flere

$15 USD på 1 dag
(12 bedømmelser)
3.6
marek2x

Greetings, I am a full time software engineer working for multinational corporation based in EMEA region. May I help you with the assignment? Please message me privately for additional [login to view URL],Marc

$15 USD på 1 dag
(2 bedømmelser)
2.8
gmsltn1

Hi, I have read your job post very carefully. Thank you for this wonderful opportunity. I am very interested to this project. I believe my abilities would be perfect for your venture. I can finish this job within the Flere

$25 USD in 2 dage
(1 bedømmelse)
0.0
asterixcoder

I can help you do this sounds like you have done a lot of the hard work already. I will start on this right away and have it back to you in no time. Kind Regards, Robert

$10 USD in 0 dage
(0 bedømmelser)
0.0
ramsumwork

Hi, I would like to take your task. Please go through my profile for more details. looking to hear from your side.

$14 USD in 2 dage
(0 bedømmelser)
0.0
$15 USD in 10 dage
(0 bedømmelser)
0.0
rakeshkahar

I will complete this JSON related exercise as soon as possible, once i get your json files or json data.

$15 USD in 3 dage
(0 bedømmelser)
0.0
nkrfreelancer

I have good qualification and relevant skills for this assignment opportunity! Newly activated my freelancer account, I am delighted to experience with minimal cost to the project providers. Look forward to your Flere

$10 USD in 2 dage
(0 bedømmelser)
0.0
rathipankaj2005

Hi I have enough experience to handle json object . it will be great to deal with such thing again if get a chance to work on such task.

$15 USD in 3 dage
(0 bedømmelser)
0.0
$15 USD in 2 dage
(0 bedømmelser)
0.0
stanislavguzik

Hello, I have already prepared the solution for you. The source code is on my github account, I'll provide you a link right after we negotiate. There's another option, I can just give you a hint right here - don't u Flere

$10 USD in 0 dage
(0 bedømmelser)
0.0