It is a data structure that is represented only as passive collections of field values (instance variables), without using object-oriented features.
[5] In C++20 the notion of “plain old data” (POD) and by that is_pod is deprecated and replaced with the concept of “trivial” and “standard-layout” types.
Records (introduced in Java 16, in 2021) are shallowly immutable carriers of data without encapsulation, and therefore they can also be considered PDS.
[citation needed] Other structured data representations such as XML or JSON can also be used as a PDS if no significant semantic restrictions are used.
The dataclasses in Python, introduced in version 3.7, that provide a convenient way to create a class and store data values.