type
JSONField
JSONField configures a field for JSON data.
Full signature
type JSONField struct {
// contains filtered or unexported fields
}Methods
JSONField.Access()Access replaces the complete field access policy.
JSONField.Admin()Admin replaces the complete admin presentation policy.
JSONField.AfterRead()AfterRead appends response transforms in order; no callbacks does nothing.
JSONField.AfterReadHooks()AfterReadHooks returns a detached response-transform slice.
JSONField.AppendHooks()AppendHooks appends supplied callbacks after existing callbacks in each phase.
JSONField.EditAdmin()EditAdmin updates selected admin settings while preserving the rest.
JSONField.HookPolicy()Public method JSONField.HookPolicy from github.com/riducms/ridu/field.
JSONField.Hooks()Hooks replaces the complete field lifecycle hook group.
JSONField.Label()Public method JSONField.Label from github.com/riducms/ridu/field.
JSONField.LabelTranslations()Public method JSONField.LabelTranslations from github.com/riducms/ridu/field.
JSONField.LiveValidate()Add a server check that provides feedback while this field is being edited.
JSONField.LiveValidators()Read the live server checks attached to this field.
JSONField.Localized()Public method JSONField.Localized from github.com/riducms/ridu/field.
JSONField.PrependHooks()PrependHooks inserts supplied callbacks before existing callbacks in each phase.
JSONField.Private()Public method JSONField.Private from github.com/riducms/ridu/field.
JSONField.Rename()Public method JSONField.Rename from github.com/riducms/ridu/field.
JSONField.ReplaceAfterRead()ReplaceAfterRead replaces response transforms; no callbacks clears them.
JSONField.ReplaceLiveValidators()Replace this field’s live server checks, or remove them all.
JSONField.ReplaceValidators()ReplaceValidators replaces all authoritative save validators.
JSONField.Required()Public method JSONField.Required from github.com/riducms/ridu/field.
JSONField.RestrictAccess()RestrictAccess combines supplied rules with existing access rules; both must allow.
JSONField.Validate()Validate appends one authoritative save validator.
JSONField.Validators()Public method JSONField.Validators from github.com/riducms/ridu/field.