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 6844317
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T00:21:42+00:00 2026-05-27T00:21:42+00:00

We used a third party service and it provides a JS file. The js

  • 0

We used a third party service and it provides a JS file.
The js file launches an http request and get a json.We parsed the json and got the content we wanted but the json format always changes.

Is there a way to parse the json but do not update our app?

  • 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-05-27T00:21:43+00:00Added an answer on May 27, 2026 at 12:21 am

    It sounds awful stupid to constantly change schemas, but anyway, maybe you could try having a manifest somewhere in the cloud that translates the latest schema keywords into one your app understands?

    Basically, I presume that the info in the JSON is similar (otherwise it wouldn’t make sense at all) and only the keywords change. You could have a JSON you constantly update that translates the keywords used in the app into the newest one used by the webservice.

    So an example would look like this. Imagine this is the format you are used to when developing the app (this is the one app expects).

    {
        "name" : "Henri",
        "title" : "iOS Developer"
    }
    

    Now if the webservice changes it’s schema and returns something like this

    {
        "key1" : "Henri",
        "key2" : "iOS Developer"
    }
    

    You should have a manifest.json which translates it like this

    {
        "name" : "key1",
        "title" : "key2"
    }
    

    I hope you get where I’m going with this, basically you can shift the translation to the cloud, giving you the chance to keep it up to date while app remains the same. So after loading in the translation you can access the data like this

    NSString *name = [actualJSON objectForKey: [manifestJSON objectForKey: @"name"]];
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have to make a few request to get some data from third party
I was recently asked to connect to a third party web service (*.asmx). I
Using axis2's wsdl2java tool and a third-party wsdl I have generated service stub and
At my previous employer we used a third party component which basically was just
I am trying to call a third party service with a verisign test x.509
I've used third party software to create virtual tour for my clients website. It
Constructor for PHP's exception has third parameter, documentation says: $previous: The previous exception used
I have a java web app that makes back-end use of a third-party web
I am running Apache 2.3.16 with PHP 5.3.9. I also have a third party
I'm creating a WCF service that may be used either locally or remotely, and

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.