HyperDev.Text.Json.Tabular.Editor
1.0.0
dotnet add package HyperDev.Text.Json.Tabular.Editor --version 1.0.0
NuGet\Install-Package HyperDev.Text.Json.Tabular.Editor -Version 1.0.0
<PackageReference Include="HyperDev.Text.Json.Tabular.Editor" Version="1.0.0" />
<PackageVersion Include="HyperDev.Text.Json.Tabular.Editor" Version="1.0.0" />
<PackageReference Include="HyperDev.Text.Json.Tabular.Editor" />
paket add HyperDev.Text.Json.Tabular.Editor --version 1.0.0
#r "nuget: HyperDev.Text.Json.Tabular.Editor, 1.0.0"
#:package HyperDev.Text.Json.Tabular.Editor@1.0.0
#addin nuget:?package=HyperDev.Text.Json.Tabular.Editor&version=1.0.0
#tool nuget:?package=HyperDev.Text.Json.Tabular.Editor&version=1.0.0
HyperDev.Text.Json.Tabular.Editor
The server side of the tabular mapping editor (@wemake4u/json-tabular-editor: the components
json-tabular-editor, json-tabular-template, json-tabular-import and json-tabular-export), part of the
HyperDev Fatum framework. It answers with the engine of HyperDev.Text.Json.Tabular, the same reader and writer
that will run the mapping, so what the editor shows is what the host will read or write.
Stateless: every request carries what it needs (the JSON Schema, the mapping, the sample file as base64). The service knows no host: authentication, permissions, where files and schemas come from are the host's.
Use
using HyperDev.Text.Json.Tabular.Editor;
var service = new TabularEditorService(new TabularEditorOptions
{
MaxFileBytes = 50L * 1024 * 1024, // the largest sample file
MaxVerifyRows = 1_000_000 // the rows of a whole file checked by Verify
});
var layout = service.GetLayout(new LayoutRequest { Schema = schema });
var mapping = service.Propose(new ProposeRequest { Schema = schema, Strategy = "default" });
In ASP.NET Core use HyperDev.Text.Json.Tabular.Editor.AspNetCore, which maps one endpoint per method; a host with
its own API (e.g. one remote method for every action) calls the service directly.
Methods
| Method | Endpoint | What it does |
|---|---|---|
GetMappingSchema |
GET mappings/schema |
The JSON Schema of a mapping document |
GetLayout |
POST schema/layout |
The record types and columns of a schema, the shapes that fit the fields chosen |
DescribeFile |
POST files/describe |
A sample file: format, separator, sheets, header, first rows |
Propose |
POST mappings/propose |
A first mapping: the default model (with its choices), by names of the file, or empty |
Validate |
POST mappings/validate |
The problems of a mapping for a schema |
Check |
POST mappings/check |
A mapping tried on the whole sample file |
Preview |
POST preview/read |
Some items of the file: rows, JSON, problems, validation with the schema |
Write |
POST preview/write |
JSON items written as the file of the mapping |
Template |
POST mappings/template |
The empty file to fill (CSV or Excel), with instructions and an example |
Example |
POST schema/example |
Items made up from the schema and the rows the mapping writes for them |
Recognize |
POST files/recognize |
The shapes of the default model tried on a file, the best first |
Verify |
POST files/verify |
A whole file checked: items valid and problems by item, row and column, paged |
Rejected |
POST files/rejected |
The items to correct, in the same format, with a column of the problems |
ReadItems(VerifyRequest) gives the items of a whole file as Verify reads them, for the host that keeps them.
A request that cannot be answered throws TabularEditorException with a stable code (TabularEditorErrors); the
texts of problems and checks follow the current UI culture (Italian or English).
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- HyperDev.Text.Json.Tabular (>= 1.0.0)
-
net8.0
- HyperDev.Text.Json.Tabular (>= 1.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.0 | 66 | 11/27/2026 |