Loki storing json (logs) documents?

Hi, I wonder about functionality similar to ElasticSearch

If a log is JSON based with lots of attributes and nested attributes, will this log be stored directly in Loki or only few attributes will be stored as labels?

If stored entirely in Loki, can a query be made to any one of the attributes and nested attributes in that JSON log ?

Thanks !