Load answer sets into a Survey form from JSON. Use this when another system already produces JSON — API responses, webhook payloads, exported files — or when you want the cleanest programmatic integration path.
Form schema used for serializing a designed survey is used to parse answers into typed ElementValue objectsCheckboxReturn, DropdownListReturn, ImagePickerReturn, MatrixReturn, RadiobuttonReturn), matrix coordinates, slider valuesElementTypeConverter the runtime uses, so any valid runtime JSON is importableJsonImportResult — success / failed counts, per-record errors, parsed values ready to bindPSC.Survey.Shared.Imports.Json) targeting netstandard2.1LICENCE.md (one developer, annual commercial licence, unlimited end users, no redistribution)dotnet add package PSC.Survey.Shared.Imports.Json
using PSC.Survey.Shared.Imports.Json;
var importer = new JsonImport();
var result = importer.ImportData(jsonText, form);
foreach (var record in result.Records)
if (record.Success)
Save(record.Values);
PSC.Survey.Shared (models) — included as a NuGet dependency