package ppx_yojson

  1. Overview
  2. Docs
PPX extension for Yojson literals and patterns

Install

Dune Dependency

Authors

Maintainers

Sources

ppx_yojson-0.2.0.tbz
sha256=0d8cc2c241224eb1772ffa72e4035e8a71b3a4cf76bf11dc6ec7d9f78bb1332f
md5=5f7525ef90823186e366616eaeb3f630

doc/ppx_yojson._lib/Ppx_yojson_lib/Integer_const/index.html

Module Ppx_yojson_lib.Integer_const

Helper functions to deal with AST's integer literals

val is_binary : string -> bool

Return whether this integer string representation is in binary form. i.e. if its in the form 0b100101.

val is_octal : string -> bool

Return whether this integer string representation is in octal form. i.e. if its in the form 0o1702.

val is_hexadecimal : string -> bool

Return whether this integer string representation is in hexadecimal form. i.e. if its in the form 0ox1a9f.

OCaml

Innovation. Community. Security.