title: How To Include Header Information in ToJSON Output
body: <p>Hi there I have a requirement to provide a JSON array for delivery to one of our clients. The JSON is based on the following 'Model' components:</p>
  
  <pre><code> Public Class PIValues
       Inherits List(Of PIValue)
  
       Public Sub New()
       End Sub
   End Class
  
   Public Class PIValue
       Private _PointName As String
       Private _value As Double
       Public Property PointName() As String
           Get
               PointName = _PointName
           End Get
           Set(value As String)
               _PointName = value
           End Set
       End Property
       Public Property Value() As Double
           Get
               Value = _value
           End Get
           Set(value As Double)
               _value = value
           End Set
       End Property
   End Class
  </code></pre>
  
  <p>Its a breeze to generate the required JSON output however I also need to provide some header information as part of the package in the form:</p>
  
  <pre><code> TimeStamp: &lt;yyyyMMdd hh:mm:ss&gt;
  </code></pre>
  
  <p>Where the contents within the chevrons are a variable time stamp of the specified format.</p>
  
  <p>How can I insert this information into the JSON package?</p>
  
  <p>Kind Regards
  Paul.</p>