Re: [QGIS-Developer] How to force 'json(tree)' widget in feature info panel

2024-12-05 Thread Even Rouault via QGIS-Developer
Richard, see https://github.com/qgis/QGIS/blob/806ea8b9cff8a337c9f82fa2f831bb744b60097f/src/providers/wfs/qgswfsprovider.cpp#L2083 : field.setEditorWidgetSetup( QgsEditorWidgetSetup( QStringLiteral( "JsonEdit" ), QVariantMap() ) ); Even Le 05/12/2024 à 22:15, Richard Duivenvoorde via QGIS-D

[QGIS-Developer] How to force 'json(tree)' widget in feature info panel

2024-12-05 Thread Richard Duivenvoorde via QGIS-Developer
Hi Devs, Working with an api which returns json, we thought to make it possible to see the returned (small) json documents as a json tree widget (like you for example can see in a SensorThingsApi identify result, see screendump). So creating a memory layer using and setting the providers attri