Go Back   CodingForums.com > :: Client side development > JavaScript programming > DOM and JSON scripting

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 07-12-2012, 01:43 PM   PM User | #1
labbyfrost
New to the CF scene

 
Join Date: Jul 2012
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
labbyfrost is an unknown quantity at this point
Post Json - read file parse each line of json into bean

Hi,
I am a newbie to Json
I have an input file in .txt format containing

{“person”:{“name”:”xxx”,”location”:Sao Paulo”,”email”:abcd@yahoo.com}}

{“person”:{“name”:”yyy”,”location”:Brasilia”,”email”:brasilia@yahoo.com}}

{“person”:{“name”:”zzz”,”location”:Minas”,”email”:bansn@yahoo.com}}

I have to read the file, parse each line of json and fill the field values into Java bean name person. Print the person bean as Tab separated value.

please help
labbyfrost is offline   Reply With Quote
Reply

Bookmarks

Tags
bean, input file, json, parse

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 01:26 PM.


Advertisement
Log in to turn off these ads.