BUILT-IN WOLFRAM LANGUAGE SYMBOL

AssociationFormat

AssociationFormat
is an option to TextString and related functions that determines how associations are formatted.

DetailsDetails

  • AssociationFormat->{"left","sep","right","arrow"} specifies that associations should be formatted as the delimiter "left", followed by entries in the association separated from each other by "sep", followed by the delimiter "right". Each key->value pair is formatted as key, followed by "arrow", followed by value.
  • AssociationFormat->Automatic indicates that the specification {"<|",", "," -> ","|>"} should be used, which corresponds to the ordinary syntax of associations in the Wolfram Language.

ExamplesExamplesopen allclose all

Basic Examples  (1)Basic Examples  (1)

Use default formatting:

In[1]:=
Click for copyable input
Out[1]=

Specify alternate formatting:

In[2]:=
Click for copyable input
Out[2]=
In[3]:=
Click for copyable input
Out[3]=
Introduced in 2014
(10.0)
Translate this page: