B
B
Blacit2019-10-02 12:59:40
Java
Blacit, 2019-10-02 12:59:40

How to add Json via gradle in intellij IDEA?

I can’t figure out how to add it, I also find material where they try through
File -> Project Structure -> Module and there they drive in json in the search engine, I also tried through the library, I absolutely can’t find it. I also can’t understand why some drive in GSON, while others JSON, I didn’t find any differences.
How to properly add this library via gradle?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
B
Blacit, 2019-10-02
@Blacit

In principle, I found another way, probably it should be correct.
A new question, but which version is the right one to choose? Attached is a screenshot with options.
The answer is how to do it in this video: https://www.youtube.com/watch?v=JwPYjnhah3g
I went to bulding.gradle, clicked in any RMB field -> Generate -> Add Maven Artivafacte depedency -> entered json.
5d947c2436d80376641724.png

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question