Aller au contenu principal

AxiosFormSerializer Class

Axios.Net › AxiosNet.Config

Controls multipart and urlencoded serialization of object bodies.

public class AxiosFormSerializer

Inheritance System.Object → AxiosFormSerializer

Properties​

AxiosFormSerializer.Dots Property​

Use dot notation (a.b) instead of brackets (a[b]).

public bool Dots { get; set; }

Property Value​

System.Boolean

AxiosFormSerializer.Indexes Property​

Array format, same meaning as Indexes.

public System.Nullable<bool> Indexes { get; set; }

Property Value​

System.Nullable<System.Boolean>

AxiosFormSerializer.MaxDepth Property​

Maximum nesting depth of an object body; going deeper fails with FormDataDepthExceeded.

public int MaxDepth { get; set; }

Property Value​

System.Int32

AxiosFormSerializer.MetaTokens Property​

Keep special key endings such as {} (values of such keys are sent as JSON).

public bool MetaTokens { get; set; }

Property Value​

System.Boolean