🎉 Congratulations, you got a super discount!⚡️ 50% OFF COUPON

Data Types

In this section we will introduce the various data types supported by Tapicker.

Available Data Types

Tapicker supports the following five common data types:

  • String
  • Number
  • Boolean
  • Array
  • Json

Next, we will explain the usage and application of each data type in detail.

String

The String type is used to represent textual data. In Tapicker, you can store any text as a string, such as extracting the text content of a web element. Strings must be enclosed in double quotes (" ") or single quotes (' ').

Example:

"Hello, Tapicker!"

'Hello, Tapicker!'

Number

The Number type is used to represent numerical values. In Tapicker, a Number can be an integer or a floating-point number, used to represent quantities, prices, percentages, and other numerical information.

Example:

123

-123

1.23

Boolean

The Boolean type represents a boolean value, either True or False. In Tapicker, Boolean values are commonly used for logical control or conditional selection, helping you execute tasks based on specific conditions.

Example:

true

false

Array

The Array type is used to represent an ordered collection of values. In Tapicker, an Array can contain multiple data types such as String, Number, Boolean, or even other Arrays. Arrays are typically used to store multiple similar data items, such as multiple URLs or numbers.

Example:

["item1", "item2", "item3"]

[10, 20, 30]

Json

The Json type represents a collection of key-value pairs, similar to an object in JavaScript. In Tapicker, Json is used for handling complex data structures and nested data. Each key corresponds to a specific value, which can be a String, Number, Boolean, Array, or another Json object.

Example:

{
  "name": "John Doe",
  "age": 30,
  "isActive": true
}

Conclusion

Tapicker supports five basic data types: String, Number, Boolean, Array, and Json. These types provide you with various ways to handle and store data extracted from web pages. By effectively using these data types, you can manage your data more efficiently and perform operations according to specific needs.