| Package | Description |
|---|---|
| com.github.vincentrussell.json.datagenerator.functions.impl |
default implementations for functions.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AddDays
addDays to Date function
|
class |
AddHours
addHours to Date function
|
class |
AddMinutes
addMinutes to Date function
|
class |
AddMonths
addMonths to Date function
|
class |
AddSeconds
addSeconds to Date function
|
class |
AddWeeks
addWeeks to Date function
|
class |
AddYears
addYears to Date function
|
class |
Alpha
random string with alphabetic characters (defaults to between 10 and 20 characters)
|
class |
AlphaNumeric
random string with alpha-numeric characters (defaults to between 10 and 20 characters)
|
class |
Bool
random boolean with given probability
|
class |
City
random city
|
class |
Company
random company name
|
class |
Concat
concat strings together
|
class |
CountriesList
random company name
|
class |
Country
random country
|
class |
Date
functions with dates
|
class |
DateFormat
convert dates to different formats
|
class |
Email
function for andom email address
|
class |
FirstName
function for random first name
|
class |
Gender
function to return a random gender
|
class |
Get
get a value from the cache
|
class |
Hex
lowercase hex string
|
class |
Index
an incrementing index integer
|
class |
Ipv4
random ipv4 address
|
class |
Ipv6
random ipv6 address
|
class |
LastName
random last name
|
class |
LoremIpsum
lorem ipsum words or paragraphs
|
class |
ObjectId
random objectId (12 byte hex string):
|
class |
Phone
Random phone number
|
class |
Put
store a value in the cache
|
class |
Random
random item from list
|
class |
RandomDouble
get random double in range
|
class |
RandomFloat
get random float between min and max
|
class |
RandomInteger
get Random integer
|
class |
RandomLong
random long within range
|
class |
Regexify
Generate random strings based on regex
|
class |
Repeat
function used to handle repeats within the json.
|
class |
ResetIndex
reset an index
|
class |
Ssn
random social security number
|
class |
State
get random state
|
class |
Street
get random street
|
class |
Substring
get substring from other string
|
class |
SystemProperty
get a value from a system property
|
class |
Time
functions with time
|
class |
Timestamp
timestamp (milliseconds, between the current time and midnight, January 1, 1970 UTC):
|
class |
TimestampSeconds
timestamp (seconds, between the current time and midnight, January 1, 1970 UTC):
|
class |
ToLower
lower case a string
|
class |
ToTimestamp
lower case a string
|
class |
ToTimestampSeconds
lower case a string
|
class |
ToUpper
upper case a string
|
class |
Username
random username based on first initial from rnadom first name and lastname lowercased
|
class |
UUID
random uuid
|
Copyright © 2022. All rights reserved.