This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Runtime.Serialization.Json; | |
using System.IO; | |
using System.Text; | |
public static class JsonUtil | |
{ | |
/// <summary> | |
/// Serializes an object to the respectable JSON string. | |
/// </summary> | |
public static string Serialize<T>(T o) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$data = array(); | |
//This is an associative array with named keys as indexes | |
$data['Version'] = '1.0.0.0'; | |
$data['Hash'] = '85f6ee768c10f9c09931a6ae2a94a395'; | |
$data['Addition'] = 'Implemented multi threading, remove redundant code'; | |
$data['Link'] = '/update/myapp.exe'; |