That's correct! JSON can only serialize a limited set of data types, but it covers most of the common data types used in programming. Here's a list of the basic data types that can be serialized to JSON using Python's json module:

string
number (integers and floats)
boolean (True and False)
null (None)
list
dictionary
JSON cannot serialize complex Python objects, such as functions or classes, or built-in data types like sets, tuples, or datetimes. If you need to serialize these types of objects, you may need to use a different serialization method like pickle, as you mentioned. However, be aware that pickle can potentially execute arbitrary code, so it should be used with caution, especially when dealing with untrusted data.
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence