• Post Reply Bookmark Topic Watch Topic
  • New Topic

Unable to read json from file  RSS feed

 
paul a carron
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm trying to read Json from a file(json.json). It's in my projcet in a folder called JsonRead. I've used the following code to read it but am getting nothing.



The returns [].

Am I referencing it incorrectly?
 
Jesper de Jong
Java Cowboy
Sheriff
Posts: 16058
88
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What exactly does the json file contain and can you show the code of the method JacksonTest.buildVaultList()?
 
paul a carron
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Never mind. I was pointing to the wrong folder location.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!