9

Android creating a JSON POST, how can i create this format using JSON objects/arrays

view full story
linux-howto

http://stackoverflow.com – I am taking part in a group project for university, and i need to create a JSON POST request in the specified format. The part i am having trouble is, is the looping through an array of stored Objects, getting the values from the objects and creating JSON Objects with said values. the format: { "authorization": { "hash": "427339AC646C25EFFA6B624CE776FB4FEE99CEDA", "salt": "swordfish" }, "walk": { "title": "Whitehall Wander", "shortDesc": "A short walk around Westminster", "longDesc": "A walk around London, viewing sights such as Downing Str (HowTos)