Table of Contents

Enum EntityFormat

Namespace
ToSic.Sxc.WebApi
Assembly
ToSic.Sxc.WebApi.dll

Formats to use for automatic Entity to JSON conversion. This is for the JsonFormatterAttribute. As of now it only has None and Light, in future we plan to extend this with other formats. Default is usually Light.

[PublicApi]
public enum EntityFormat

Fields

Light = 1

Format IEntity objects as EavLightEntity. This results in single-language objects with name/value pairs like a JavaScript object.

None = 0

Do not auto-convert into any specific format. If IEntity objects are in the result, will result in an error.