java-parser-root

Use jparsec to parse a string into Guava TypeToken.

License

License

GroupId

GroupId

org.jparsec
ArtifactId

ArtifactId

jparsec-g-root
Last Version

Last Version

1.1
Release Date

Release Date

Type

Type

pom
Description

Description

java-parser-root
Use jparsec to parse a string into Guava TypeToken.
Project URL

Project URL

http://github.com/jparsec/jparsec-g
Source Code Management

Source Code Management

http://github.com/jparsec/jparsec-g

Download jparsec-g-root

Filename Size
jparsec-g-root-1.1.pom 6 KB
Browse

How to add to project

<!-- https://jarcasting.com/artifacts/org.jparsec/jparsec-g-root/ -->
<dependency>
    <groupId>org.jparsec</groupId>
    <artifactId>jparsec-g-root</artifactId>
    <version>1.1</version>
    <type>pom</type>
</dependency>
// https://jarcasting.com/artifacts/org.jparsec/jparsec-g-root/
implementation 'org.jparsec:jparsec-g-root:1.1'
// https://jarcasting.com/artifacts/org.jparsec/jparsec-g-root/
implementation ("org.jparsec:jparsec-g-root:1.1")
'org.jparsec:jparsec-g-root:pom:1.1'
<dependency org="org.jparsec" name="jparsec-g-root" rev="1.1">
  <artifact name="jparsec-g-root" type="pom" />
</dependency>
@Grapes(
@Grab(group='org.jparsec', module='jparsec-g-root', version='1.1')
)
libraryDependencies += "org.jparsec" % "jparsec-g-root" % "1.1"
[org.jparsec/jparsec-g-root "1.1"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

  • javaparser

jparsec-g

Parse Guava TypeToken.

To deserialize TypeToken:

new TypeParser().parse(typeToken.toString())

To construct TypeToken reflectively:

TypeToken<?> genericType = parser.parse(theClass.getName() + "<?, String>");

Javadoc

Maven

Add the following fragment to your <dependencies> section:

  <dependency>
    <groupId>org.jparsec</groupId>
    <artifactId>jparsec-g</artifactId>
    <version>1.1</version>
  </dependency>

Versions

Version
1.1