I'm trying to implement this protected constructor from this abstract Java class into my clojure project. If I write:
(org.everit.json.schema.Schema.)
then I get an error that says:
CompilerException java.lang.IllegalArgumentException: No matching ctor found
for class org.everit.json.schema.Schema.
I clearly see the constructor, but I see that it is protected. I've been reading up on proxy, and gen-class, but I can not understand how to extend this abstract class to my project so that I can use the constructor without having to override it.
From my research, it seems like I do have to overwrite it. Can someone help me out with whether I do have to or not? Thanks.
I see that Schema is extended to ObjectSchema and StringSchema for implementations, so I've imported those as well, but I'm getting errors that say "No matching field found" when trying to use against a string schema or a JSONObject schema.