Uses of Class
jsonvalues.JsBinary

Packages that use JsBinary
Package
Description
The `jsonvalues` package provides a set of classes and interfaces for working with JSON (JavaScript Object Notation) data in a type-safe and structured manner.
This package contains a set of generators for creating JSON-like data structures using the `jsonvalues` library.
  • Uses of JsBinary in jsonvalues

    Methods in jsonvalues that return JsBinary
    Modifier and Type
    Method
    Description
    static JsBinary
    JsBinary.of(byte[] bytes)
    Creates a JsBinary from an array of bytes
    static JsBinary
    JsBinary.of(String base64)
    Creates a JsBinary from an array of bytes encoded as a string in base64
    default JsBinary
    JsValue.toJsBinary()
    Returns this JsValue as a JsBinary.
  • Uses of JsBinary in jsonvalues.gen

    Methods in jsonvalues.gen that return types with arguments of type JsBinary
    Modifier and Type
    Method
    Description
    JsBinaryGen.apply(Random seed)
     
    static fun.gen.Gen<JsBinary>
    JsBinaryGen.arbitrary(int minLength, int maxLength)
    Returns an arbitrary JSON binary generator with a specified range of byte lengths.
    static fun.gen.Gen<JsBinary>
    JsBinaryGen.biased(int minLength, int maxLength)
    Returns a biased JSON binary generator with a specified range of byte lengths.