// This may look like C code, but it's really -*- C++ -*-
/*
 * Copyright (C) 2009 Emweb bvba, Kessel-Lo, Belgium.
 *
 * See the LICENSE file for terms of use.
 */
#ifndef WT_JSON_ARRAY_H_
#define WT_JSON_ARRAY_H_

#include <string>
#include <vector>

#include <Wt/Json/Value>

namespace Wt {
  namespace Json {

class Object;
class Value;

/*! \brief A JSON array
 *
 * This class represents a JSON array. It is implemented as a
 * <tt>std::vector&lt;Json::Value&gt;</tt> -- no new API to learn
 * here!
 *
 * \ingroup json
 */
class WT_API Array : public std::vector<Value>
{
public:
  /*! \brief Empty array constant.
   */
  static Array Empty;
};

  }
}

#endif // WT_JSON_ARRAY_H_
