23using namespace Qt::StringLiterals;
43 if ( field.
typeName().compare( u
"json"_s, Qt::CaseInsensitive ) == 0 || field.
typeName().compare( u
"jsonb"_s, Qt::CaseInsensitive ) == 0 )
Encapsulate a field in an attribute table or data source.
QString typeName() const
Gets the field type.
QgsField field(int fieldIdx) const
Returns the field at particular index (must be in range 0..N-1).
A configuration widget for JSON edit widget.
Wraps a JSON edit widget.
Represents a vector layer which manages a vector based dataset.