Uses of Class
jsonvalues.JsStr

Packages that use JsStr
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 JsStr in jsonvalues

    Methods in jsonvalues that return JsStr
    Modifier and Type
    Method
    Description
    Maps this JsStr into another one.
    static JsStr
    JsStr.of(String str)
    Static factory method to create a JsStr from a string.
    default JsStr
    JsValue.toJsStr()
    Returns this JsValue as a JsStr.
    Methods in jsonvalues with parameters of type JsStr
    Modifier and Type
    Method
    Description
    int
    JsStr.compareTo(JsStr o)
    Compares two JsStr objects lexicographically.
  • Uses of JsStr in jsonvalues.gen

    Methods in jsonvalues.gen that return types with arguments of type JsStr
    Modifier and Type
    Method
    Description
    static fun.gen.Gen<JsStr>
    JsStrGen.alphabetic()
    Returns a generator that produces a single alphabetic character.
    static fun.gen.Gen<JsStr>
    JsStrGen.alphabetic(int length)
    Generates a string made up of alphabetic characters
    static fun.gen.Gen<JsStr>
    JsStrGen.alphabetic(int minLength, int maxLength)
    Generates a string made up of alphabetic characters with a length between minLength and maxLength.
    static fun.gen.Gen<JsStr>
    JsStrGen.alphanumeric()
    Returns a generator that produces a single alphanumeric character.
    static fun.gen.Gen<JsStr>
    JsStrGen.alphanumeric(int length)
    Generates a string made up of alphanumeric characters with a length of length.
    static fun.gen.Gen<JsStr>
    JsStrGen.alphanumeric(int minLength, int maxLength)
    Generates a string made up of alphanumeric characters with a length between minLength and maxLength.
    JsStrGen.apply(Random seed)
     
    static fun.gen.Gen<JsStr>
    JsStrGen.arbitrary(int length)
    Returns a generator that produces arbitrary strings with a length of length.
    static fun.gen.Gen<JsStr>
    JsStrGen.arbitrary(int minLength, int maxLength)
    Returns a generator that produces arbitrary strings with a length between minLength and maxLength.
    static fun.gen.Gen<JsStr>
    JsStrGen.ascii()
    Returns a generator that produces a single ASCII character.
    static fun.gen.Gen<JsStr>
    JsStrGen.ascii(int length)
    Generates a string made up of alphabetic characters with a length of length.
    static fun.gen.Gen<JsStr>
    JsStrGen.ascii(int minLength, int maxLength)
    Generates a string made up of ASCII characters with a length between minLength and maxLength.
    static fun.gen.Gen<JsStr>
    JsStrGen.biased(int length)
    Returns a biased generator that produces, with higher probability, potential problematic values that usually cause more bugs.
    static fun.gen.Gen<JsStr>
    JsStrGen.biased(int minLength, int maxLength)
    Returns a biased generator that produces, with higher probability, potential problematic values that usually cause more bugs.
    static fun.gen.Gen<JsStr>
    JsStrGen.digit()
    Returns a generator that produces a single digit from 0 to 9.
    static fun.gen.Gen<JsStr>
    JsStrGen.digits(int length)
    Generates a string made up of digits with a length of length.
    static fun.gen.Gen<JsStr>
    JsStrGen.digits(int minLength, int maxLength)
    Generates a string made up of digits with a length between minLength and maxLength.
    static fun.gen.Gen<JsStr>
    JsStrGen.letter()
    Returns a generator that produces a single letter from 'a' to 'z'.
    static fun.gen.Gen<JsStr>
    JsStrGen.letters(int length)
    Generates a string made up of letters with a length of length.
    static fun.gen.Gen<JsStr>
    JsStrGen.letters(int minLength, int maxLength)
    Generates a string made up of letters with a length between minLength and maxLength.