Skip to content

Using Klaxon in Gradle Task #358

@mikuhl-dev

Description

@mikuhl-dev

I am trying to use Klaxon in a Gradle Task that generates some code for me, but when I try to access the parsed objects I get this error:

class com.beust.klaxon.JsonObject cannot be cast to class Block (com.beust.klaxon.JsonObject and Block are in unnamed module of loader org.gradle.internal.classloader.VisitableURLClassLoader @4717c6b6)

Might not be fault of Klaxon itself, but I am not sure where else to ask. Any help is appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions