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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T12:22:46+00:00 2026-06-04T12:22:46+00:00

I have a JSON file with lots of attributes. I’ve parsed JSON files before

  • 0

I have a JSON file with lots of attributes. I’ve parsed JSON files before using the methods provided by the Android SDK. But I have absolutely no clue on how to handle this file because the attributes are in arrays.

Anyone has a guess?

{
"properties": {
    "position" : { "valueType": "text" },
    "image" : { "valueType": "text" },
    "architekt" : { "valueType": "text" },
    "baustil" : { "valueType": "text" },
    "besuchbar" : { "valueType": "text" },
    "bildbeschreibung" : { "valueType": "text" },
    "bundesland" : { "valueType": "text" },
    "eintrittspreis" : { "valueType": "text" },
    "geo_lat" : { "valueType": "text" },
    "geo_lon" : { "valueType": "text" },
    "hoehe" : { "valueType": "text" },
    "internetpraesenz" : { "valueType": "text" },
    "land" : { "valueType": "text" },
    "oeffnungszeiten" : { "valueType": "text" },
    "ort" : { "valueType": "text" },
    "parkplaetze" : { "valueType": "text" },
    "plz" : { "valueType": "text" },
    "sehenswuerdigkeit" : { "valueType": "text" },
    "strasse" : { "valueType": "text" }
},
"items": [
    {
        "label": "Assf",
        "position": ["Testroute::2","Rathausroute::2"],
        "image": [" http:\/\/134.108.119.74\/mediawiki-1.18.2\/index.php\/Datei:Rathaus_Goeppingen.png"],
        "bildbeschreibung": ["Vorderansicht des Rathaus G\u00f6ppingen"],
        "sehenswuerdigkeit": ["Rathaus G\u00f6ppingen"]
    },
    {
        "label": "Burg Hohenstaufen",
        "position": ["Testroute::2","Rathausroute::13"],
        "image": [" http:\/\/134.108.119.74\/mediawiki-1.18.2\/index.php\/Datei:Burg Hohenstaufen Fresko.jpg"],
        "architekt": ["Friedrich I. von Schwaben"],
        "baustil": ["H\u00f6henburg, Gipfellage"],
        "besuchbar": ["wahr"],
        "bildbeschreibung": ["\u00c4lteste Abbildung der Burg Hohenstaufen aus dem Jahre 1470"],
        "bundesland": ["Baden-W\u00fcrttemberg"],
        "eintrittspreis": ["unentgeltlich besuchbar"],
        "geo_lat": ["48.743056"],
        "geo_lon": ["9.716389"],
        "hoehe": ["19 Meter"],
        "internetpraesenz": ["http:\/\/www.awdfasdfa.de"],
        "land": ["Germany"],
        "oeffnungszeiten": ["Immer Ge\u00f6ffnet"],
        "ort": ["G\u00f6ppingen Hohenstaufen"],
        "parkplaetze": ["falsch"],
        "plz": ["73037"],
        "sehenswuerdigkeit": ["Burg Hohenstaufen"]
    },
    {
        "label": "Test",
        "position": ["Testroute::1","Rathausroute::23"],
        "image": [" http:\/\/134.108.119.74\/mediawiki-1.18.2\/index.php\/Datei:Rathaus_Goeppingen.png"],
        "architekt": ["Joseph Poelaert"],
        "baustil": ["Barock"],
        "besuchbar": ["wahr"],
        "bildbeschreibung": ["Vorderansicht des Rathaus G\u00f6ppingens"],
        "bundesland": ["Baden-W\u00fcrttemberg"],
        "eintrittspreis": ["f\u00fcr Umme"],
        "geo_lat": ["48.7025"],
        "geo_lon": ["9.65277"],
        "hoehe": ["19 Meter"],
        "internetpraesenz": ["http:\/\/www.awdfasdfa.de"],
        "land": ["Germany"],
        "oeffnungszeiten": ["Mo: 9:30 bis 13:30 und 14:00 bis 18:30 <br \/> Sa&So: 10:00 bis 20:00"],
        "ort": ["G\u00f6ppingen"],
        "parkplaetze": ["wahr"],
        "plz": ["70825"],
        "sehenswuerdigkeit": ["Rathaus G\u00f6ppingen"],
        "strasse": ["Robert-Bosch-str. 12"]
    }
]

}

  • 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-04T12:22:48+00:00Added an answer on June 4, 2026 at 12:22 pm

    Its pretty easy

    json = new JSONObject(textThatISJSON);
    JSONArray properties = json.getJSONArray("properties");
    JSONArray position = properties.getJSONArray("position");
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Right now I have a json file that im using to populate data within
I have a JSON file with parsed data stored in a @colors instance variable,
i have a JSON file that i'm trying to parse using SBJson. the response
I have a json file. I am using it to store information, and as
I have json file that I have exported using TexturePacker, and it produces this
How to generate jSon file via PHP? I have seen jSon files over 4mb
I have a json file and I assume that I do not know anyting
I have a json file exported from phpmyadmin, it looks like this(utf-8 file): [{user_email:
I have a JSON file which contains a pound symbol in it. This json
I have a JSON file which contains HTML content. I want to load it

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.