0

I was looking to add data to my program based off of the steam market API that I have found here but I am unsure how to use this data as I believe it is in JavaScript. Is it possible to do so or is this not do-able?

3
  • Maybe the data is in JSON format (there is no 'javascript' data format) Commented Oct 5, 2015 at 3:07
  • @Jochen_Bedersdorfer yeh I had a feeling I would just sound dumb. I have no idea what else to call it. My question is CAN I use that in java or is that not possible? Commented Oct 5, 2015 at 3:47
  • how to parse json in java Commented Oct 5, 2015 at 4:01

1 Answer 1

0

In Automatical way,

When you get json data from steam api in js/web page, you could pass the data using ajax to java web application controller by RESTful API to comsume/handle that data in java program. You could search "java spring web application" for your starting point

http://docs.spring.io/docs/Spring-MVC-step-by-step/part1.html#step1.8

In manual way,

You could just copy the result json string into java normal program to transform into Map/List object by some parsing function or library(e.g. gson) for further computation.

java code to convert json into text in key value pair

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.