#include <cpprest/http_client.h>
#include <cpprest/filestream.h>

#include "WebService.h"
#include "JsonObject.h"

int _tmain(int argc, _TCHAR* argv[])
{
	web::json::value j = CWVWebService::GetJson(U("http://localhost:8080/RESTService/city"));
	std::wstring s = j.serialize();

	std::vector<std::wstring> VS{ U("class"), U("id"), U("cityName"), U("countryCode"), U("dateCreated"), U("lastUpdated"), U("postalCode") };
	CJsonObject O(j, VS);
	O.Print();
	
	return 0;
}