Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8724039
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T07:44:55+00:00 2026-06-13T07:44:55+00:00

I have this application where I read a sequence of JSON object … say,

  • 0

I have this application where I read a sequence of JSON object … say, j1,j2,…,jn and I need to transform them to j1′,j2′,…,jn’ — NOTE this is a JSON to JSON transformation.

At the moment I’m doing this through utility methods which traverse the first object and then compose the second object.

I’m reasonably happy with my approach, however it gets tedious. I was wondering if folks know of toolkits or code patterns to address this problem.

Thanks.

PS: For example I looked at XSLT a million years ago to solve similar problems with XML but I was not too enamored by XSLT … is there an XSLT for JSON or a general purpose transform languages? — NOTE: XSLT is cited as an analogous technology for XML — I am NOT looking to transform JSON to XML or vice-a-verse.

PPS: I reckon I could use an ETL tool however I think this is a very light weight application and ETL would be a too involved.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T07:44:56+00:00Added an answer on June 13, 2026 at 7:44 am

    For your tag I guess you are using JAVA,

    you can take a look at http://code.google.com/p/google-gson/

    My navie approach will be using the library to convert JSON to customized beans, then back to JSON

    Then you can manage the mapping logic in a JAVA way.

    You can also take a look at this question
    XSLT equivalent for JSON

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have just read this in the book OpenCV 2 Computer Vision Application Programming
I have this application that need to do some things in protected paths (like
I have this application where I implement the ActionBar Fragment interface. Underlying the interface,
I have this application written in JSF 2.0 facelets and it has the following
i have this application but how to use its? and example for 7-zip can?
I have this application written in java to calculate pageranks. And the application takes
I have this application I made on a utility based app. How would I
I have this application that will recurse all folders in a given directory and
I have this application with 2 classes, in the first class I define a
I have this application that I want to support multi languages. I thought the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.