Parsing JSON means interpreting the data with the specific language that you are using at that moment.
JSON is usually read as a string called the JSON string. ...
When we parse JSON, it means we are converting the string into a JSON object by following the JSON specification,
where we can then use it in any way we wish.
-----
java.util.UUID uid = java.util.UUID.fromString("38400000-8cf0-11bd-b23e-10b96e4ef00d");
setVariableData("guid",uid.randomUUID().toString());
https://oracle-base.com/articles/9i/uuid-9i
1.
java.util.UUID.fromString:
fromString(String name) Creates a UUID from the string standard representation as described in the toString() method.
long. getLeastSignificantBits() Returns the least significant 64 bits of this UUID's 128 bit value.
2.
java.util.UUID.fromString() Method:
The fromString(String name) method is used to create a UUID from the string standard representation as described in the toString() method.
3. class UUID
A class that represents an immutable universally unique identifier (UUID). A UUID represents a 128-bit value.
4. UUID : immutable universally unique identifier
-> The java.util.UUID class represents an immutable universally unique identifier (UUID).
-> Following are the important points about UUID
− A UUID represents a 128-bit value.
- It is used for for creating random file names, session id in web application, transaction id etc.
5. randomUUID()
randomUUID() method is used to retrieve a type 4 (pseudo randomly generated) UUID.
The UUID is generated using a cryptographically strong pseudo random number generator.
============================
process.inputJsonStringVar = JSON.stringify(process.inputVar);
process.inputStringVar = process.inputJsonStringVar;
================================
Any fault thrown using throw activity that is not being caught will result in rollback of complete transaction.
No comments:
Post a Comment