Skip to content

Commit

Permalink
Fix outputting NaN and Infinities to be jq compatible (fix eiiches#62)
Browse files Browse the repository at this point in the history
  • Loading branch information
itchyny committed Dec 6, 2022
1 parent 613f3ff commit 4680675
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,15 @@
import net.thisptr.jackson.jq.Versions;
import net.thisptr.jackson.jq.exception.JsonQueryException;
import net.thisptr.jackson.jq.internal.functions.EnvFunction;
import net.thisptr.jackson.jq.internal.misc.JsonQueryJacksonModule;
import net.thisptr.jackson.jq.module.ModuleLoader;
import net.thisptr.jackson.jq.module.loaders.BuiltinModuleLoader;
import net.thisptr.jackson.jq.module.loaders.ChainedModuleLoader;
import net.thisptr.jackson.jq.module.loaders.FileSystemModuleLoader;

public class Main {
private static final ObjectMapper MAPPER = new ObjectMapper();
private static final ObjectMapper MAPPER = new ObjectMapper()
.registerModule(JsonQueryJacksonModule.getInstance());

private static final Option OPT_COMPACT = Option.builder("c")
.longOpt("compact")
Expand Down

0 comments on commit 4680675

Please sign in to comment.