Your specification is a bit confusing Your last two cases appear the same The guid / uuid should be at least 32 characters and should stay in the ascii range to avoid trouble when passing them around To make the most voted solution work, attributes in the pojo have to be public or have a public getter / setter Not tested yet, but i believe that this rule also applies for other json libs like google. Checking whether a string starts with xxxx asked 13 years, 10 months ago modified 1 year, 11 months ago viewed 525k times
Now what i don't understand is why it would give me an import error Cannot import name xxxx if i put the ex48.py in the main project folder e.g (d:\learnpython\projects\ex48) and do the import as from ex48 import xxxx By the way, the test file (ex48_test.py) is in d:\learnpython\projects\ex48\tests and i am running the tests using nose package. Couldn't find remote ref refs/heads/xxxx and hangs up asked 14 years, 3 months ago modified 2 years, 9 months ago viewed 309k times
WATCH