Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to reference neotype-jsoniter #122

Open
DamianReeves opened this issue Sep 19, 2024 · 1 comment
Open

How to reference neotype-jsoniter #122

DamianReeves opened this issue Sep 19, 2024 · 1 comment

Comments

@DamianReeves
Copy link

jsoniter-scala instructs you to do the following:

libraryDependencies ++= Seq(
  // Use the %%% operator instead of %% for Scala.js and Scala Native 
  "com.github.plokhotnyuk.jsoniter-scala" %% "jsoniter-scala-core"   % "2.30.11",
  // Use the "provided" scope instead when the "compile-internal" scope is not supported  
  "com.github.plokhotnyuk.jsoniter-scala" %% "jsoniter-scala-macros" % "2.30.11" % "compile-internal"
)

Considering that, how should I import neotype-jsoniter?
Should it be compile-internal as well?

@DamianReeves
Copy link
Author

Also it is not clear how to use neo-type with json-iter.
What if I want to make a JsonValueCodec directly on a Newtype or Subtype how do I do that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant