primitive value parsing