04-15-2005
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
i have installed SDL int /opt
and i installed a game with pkgadd in /usr/local
and when i try to start the game i says:
ld.so.1: ./gamename: fatal: libSDL-1.1.so.0: open failed: No such file or directory
what should i do (1 Reply)
Discussion started by: CreamHarry
1 Replies
2. UNIX for Dummies Questions & Answers
for some reson lokie games do not let me play the games on my linux box i go and install it but will not let me play them acts like it wants to run the game but will not open what do i do
i have return to wolfinstine
and unreal 2003
and seriurs sam
and quake 1,2,3
and starwars jedi 2
and... (1 Reply)
Discussion started by: amicrawler2000
1 Replies
3. UNIX for Dummies Questions & Answers
Does anyone know of any unix-based games? (1 Reply)
Discussion started by: danceofillusion
1 Replies
4. UNIX for Dummies Questions & Answers
I was wondering if anyone had a script file for a game or a puzzle in a script file? Or something fun, like a quiz (2 Replies)
Discussion started by: JamieMurry
2 Replies
5. UNIX for Dummies Questions & Answers
If "photopia.dat" is a game. To play it, you would normally type "frotz photopia.dat" (assuming you are in the directory where photopia.dat resides).
But what if I'm in my home directory, photopia.dat is in the "games" directory, and I want to play it without switching directories? What command... (2 Replies)
Discussion started by: greeky
2 Replies
6. What is on Your Mind?
You guys are really are a genius, you make computer processing more easy for us end users. You just don't make wonders but you also make good computer games too. Really there is a fast evolution on the era of the computer world. Thanks to you guys!
__________________
The Cute Angry Birds... (0 Replies)
Discussion started by: methusela123
0 Replies
7. Ubuntu
I have Ubunut installed on my desktop
AMD 6 Core 3.2 (will be getting the bulldozer AMD 8 Core when it releases)
16 GB of DDR3 1333 RAM
SSD
some HDD's
Nvidia 560 ti 1GB
My question is, how can I or can I even get a Win 7 VM to play games as well in a main install. Give it 10 GBs of RAM... (0 Replies)
Discussion started by: ochieman2000
0 Replies
8. Post Here to Contact Site Administrators and Moderators
Hi!
I'm new to the site, and today I clicked on "Banking", curious as to what that was about. Aside from being able to "buy" things with these points, it appears there are some games available, on which you can wager your points. While I could access the "high scores", I could not find the... (14 Replies)
Discussion started by: sudon't
14 Replies
9. What is on Your Mind?
So what is everyones all time favourite games console and why do you like it?
(Please - no comments on why they are better than others as that would be opinion based and cause arguments, positive comments only) (28 Replies)
Discussion started by: Tommyk
28 Replies
json(n) JSON json(n)
__________________________________________________________________________________________________________________________________________________
NAME
json - JSON parser
SYNOPSIS
package require Tcl 8.4
package require json ?1.1?
::json::json2dict txt
_________________________________________________________________
DESCRIPTION
The json package provides a simple Tcl-only library for parsing the JSON http://www.json.org/ data exchange format as specified in RFC 4627
http://www.ietf.org/rfc/rfc4627.txt. There is some ambiguity in parsing JSON because JSON has type information that is not maintained by
the Tcl conversion. The json package returns data as a Tcl dict. Either the dict package or Tcl 8.5 is required for use.
COMMANDS
::json::json2dict txt
Parse JSON formatted text txt into a Tcl dict and return the value.
EXAMPLES
An example of a JSON array converted to Tcl. A JSON array is returned as a single item with multiple elements.
[
{
"precision": "zip",
"Latitude": 37.7668,
"Longitude": -122.3959,
"Address": "",
"City": "SAN FRANCISCO",
"State": "CA",
"Zip": "94107",
"Country": "US"
},
{
"precision": "zip",
"Latitude": 37.371991,
"Longitude": -122.026020,
"Address": "",
"City": "SUNNYVALE",
"State": "CA",
"Zip": "94085",
"Country": "US"
}
]
=>
{Country US Latitude 37.7668 precision zip State CA City {SAN FRANCISCO} Address {} Zip 94107 Longitude -122.3959} {Country US Latitude 37.371991 precision zip State CA City SUNNYVALE Address {} Zip 94085 Longitude -122.026020}
An example of a JSON object converted to Tcl. A JSON object is returned as a multi-element list (a dict).
{
"Image": {
"Width": 800,
"Height": 600,
"Title": "View from 15th Floor",
"Thumbnail": {
"Url": "http://www.example.com/image/481989943",
"Height": 125,
"Width": "100"
},
"IDs": [116, 943, 234, 38793]
}
}
=>
Image {IDs {116 943 234 38793} Thumbnail {Width 100 Height 125 Url http://www.example.com/image/481989943} Width 800 Height 600 Title {View from 15th Floor}}
BUGS, IDEAS, FEEDBACK
This document, and the package it describes, will undoubtedly contain bugs and other problems. Please report such in the category json of
the Tcllib SF Trackers [http://sourceforge.net/tracker/?group_id=12883]. Please also report any ideas for enhancements you may have for
either package and/or documentation.
KEYWORDS
data exchange, exchange format, javascript, json
CATEGORY
CGI programming
COPYRIGHT
Copyright (c) 2006 ActiveState Software Inc., 2009 Thomas Maeder, Glue Software Engineering AG
json 1.1 json(n)