top.sulpures:json-scala

Sonatype helps open source projects to set up Maven repositories on https://oss.sonatype.org/

License

License

Categories

Categories

Scala Languages JSON Data
GroupId

GroupId

top.sulpures
ArtifactId

ArtifactId

json-scala
Last Version

Last Version

1.1-RELEASE
Release Date

Release Date

Type

Type

jar
Description

Description

Sonatype helps open source projects to set up Maven repositories on https://oss.sonatype.org/
Source Code Management

Source Code Management

https://github.com/pyromancer-shadow/json-scala

Download json-scala

How to add to project

<!-- https://jarcasting.com/artifacts/top.sulpures/json-scala/ -->
<dependency>
    <groupId>top.sulpures</groupId>
    <artifactId>json-scala</artifactId>
    <version>1.1-RELEASE</version>
</dependency>
// https://jarcasting.com/artifacts/top.sulpures/json-scala/
implementation 'top.sulpures:json-scala:1.1-RELEASE'
// https://jarcasting.com/artifacts/top.sulpures/json-scala/
implementation ("top.sulpures:json-scala:1.1-RELEASE")
'top.sulpures:json-scala:jar:1.1-RELEASE'
<dependency org="top.sulpures" name="json-scala" rev="1.1-RELEASE">
  <artifact name="json-scala" type="jar" />
</dependency>
@Grapes(
@Grab(group='top.sulpures', module='json-scala', version='1.1-RELEASE')
)
libraryDependencies += "top.sulpures" % "json-scala" % "1.1-RELEASE"
[top.sulpures/json-scala "1.1-RELEASE"]

Dependencies

compile (2)

Group / Artifact Type Version
org.scala-lang : scala-library jar 2.12.2
org.scala-lang.modules : scala-parser-combinators_2.12 jar 1.0.5

Project Modules

There are no modules declared in this project.

json-scala

json for scala

How to use:

val jsonStr = "{\"name\":\"sulpures\"}"
val json = JsonObject.praser(jsonStr)
println(json.getString("name"))

val json2 = new JsonObject()
json2.put("name", "sulpures")
println(json2.toString)

Versions

Version
1.1-RELEASE
1.0-RELEASE