Skip to content

Instantly share code, notes, and snippets.

@markchadwick
Created January 10, 2010 19:17
Show Gist options
  • Save markchadwick/273704 to your computer and use it in GitHub Desktop.
Save markchadwick/273704 to your computer and use it in GitHub Desktop.
import org.python.core.PyDictionary
object cjson {
def encode(dict: PyDictionary): String =
dict.toString
def decode(s: String): PyDictionary =
new PyDictionary()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment