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?

1 Answers1

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

Community
  • 1
  • 1
OsYYYY
  • 243
  • 3
  • 14