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 JsStrModifier and TypeMethodDescriptionJsStr.map(UnaryOperator<String> fn) Maps this JsStr into another one.static JsStrStatic factory method to create a JsStr from a string.default JsStrJsValue.toJsStr()Returns this JsValue as a JsStr.Methods in jsonvalues with parameters of type JsStr -
Uses of JsStr in jsonvalues.gen
Methods in jsonvalues.gen that return types with arguments of type JsStrModifier and TypeMethodDescriptionstatic 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 charactersstatic fun.gen.Gen<JsStr>JsStrGen.alphabetic(int minLength, int maxLength) Generates a string made up of alphabetic characters with a length betweenminLengthandmaxLength.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 oflength.static fun.gen.Gen<JsStr>JsStrGen.alphanumeric(int minLength, int maxLength) Generates a string made up of alphanumeric characters with a length betweenminLengthandmaxLength.static fun.gen.Gen<JsStr>JsStrGen.arbitrary(int length) Returns a generator that produces arbitrary strings with a length oflength.static fun.gen.Gen<JsStr>JsStrGen.arbitrary(int minLength, int maxLength) Returns a generator that produces arbitrary strings with a length betweenminLengthandmaxLength.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 oflength.static fun.gen.Gen<JsStr>JsStrGen.ascii(int minLength, int maxLength) Generates a string made up of ASCII characters with a length betweenminLengthandmaxLength.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 oflength.static fun.gen.Gen<JsStr>JsStrGen.digits(int minLength, int maxLength) Generates a string made up of digits with a length betweenminLengthandmaxLength.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 oflength.static fun.gen.Gen<JsStr>JsStrGen.letters(int minLength, int maxLength) Generates a string made up of letters with a length betweenminLengthandmaxLength.