Documentation ¶
Index ¶
- type JsonOffer
- func (mj *JsonOffer) MarshalJSON() ([]byte, error)
- func (mj *JsonOffer) MarshalJSONBuf(buf fflib.EncodingBuffer) error
- func (offer *JsonOffer) Type() string
- func (uj *JsonOffer) UnmarshalJSON(input []byte) error
- func (uj *JsonOffer) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
- type LocComponent
- func (mj *LocComponent) MarshalJSON() ([]byte, error)
- func (mj *LocComponent) MarshalJSONBuf(buf fflib.EncodingBuffer) error
- func (c *LocComponent) String() string
- func (uj *LocComponent) UnmarshalJSON(input []byte) error
- func (uj *LocComponent) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
- type LocGeom
- type LocRate
- type LocResult
- type Location
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JsonOffer ¶
type JsonOffer struct { Id string `json:"numeroOffre"` Title string `json:"intitule"` Date string `json:"datePublication"` Salary string `json:"salaireTexte"` PartialTime bool `json:"tempsPartiel"` Location string `json:"lieuTexte"` Locations []struct { Name string `json:"libelleLieu"` } `json:"lieux"` HTML string `json:"texteHtml"` Account string `json:"nomCompteEtablissement"` }
func (*JsonOffer) MarshalJSON ¶
func (*JsonOffer) MarshalJSONBuf ¶
func (mj *JsonOffer) MarshalJSONBuf(buf fflib.EncodingBuffer) error
func (*JsonOffer) UnmarshalJSON ¶
func (*JsonOffer) UnmarshalJSONFFLexer ¶
type LocComponent ¶
type LocComponent struct { City string `json:"city"` PostCode string `json:"postcode"` County string `json:"county"` State string `json:"state"` Country string `json:"country"` CountryCode string `json:"country_code"` }
func (*LocComponent) MarshalJSON ¶
func (mj *LocComponent) MarshalJSON() ([]byte, error)
func (*LocComponent) MarshalJSONBuf ¶
func (mj *LocComponent) MarshalJSONBuf(buf fflib.EncodingBuffer) error
func (*LocComponent) String ¶
func (c *LocComponent) String() string
func (*LocComponent) UnmarshalJSON ¶
func (uj *LocComponent) UnmarshalJSON(input []byte) error
func (*LocComponent) UnmarshalJSONFFLexer ¶
func (uj *LocComponent) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
type LocGeom ¶
func (*LocGeom) MarshalJSON ¶
func (*LocGeom) MarshalJSONBuf ¶
func (mj *LocGeom) MarshalJSONBuf(buf fflib.EncodingBuffer) error
func (*LocGeom) UnmarshalJSON ¶
func (*LocGeom) UnmarshalJSONFFLexer ¶
type LocRate ¶
func (*LocRate) MarshalJSON ¶
func (*LocRate) MarshalJSONBuf ¶
func (mj *LocRate) MarshalJSONBuf(buf fflib.EncodingBuffer) error
func (*LocRate) UnmarshalJSON ¶
func (*LocRate) UnmarshalJSONFFLexer ¶
type LocResult ¶
type LocResult struct { Component LocComponent `json:"components"` Geometry *LocGeom `json:"geometry"` }
func (*LocResult) MarshalJSON ¶
func (*LocResult) MarshalJSONBuf ¶
func (mj *LocResult) MarshalJSONBuf(buf fflib.EncodingBuffer) error
func (*LocResult) UnmarshalJSON ¶
func (*LocResult) UnmarshalJSONFFLexer ¶
type Location ¶
type Location struct { Cached bool Rate LocRate `json:"rate"` Results []LocResult `json:"results"` }
func (*Location) MarshalJSON ¶
func (*Location) MarshalJSONBuf ¶
func (mj *Location) MarshalJSONBuf(buf fflib.EncodingBuffer) error
func (*Location) UnmarshalJSON ¶
func (*Location) UnmarshalJSONFFLexer ¶
Click to show internal directories.
Click to hide internal directories.