Consuming RESTful web services Is there any existing Drupal 8 module (on drupal.org, GitHub or anywhere else) that would leverage Guzzle to consume JSON and/or HAL+JSON Web Services over REST?

Alternatively, is the recommended way to necessarily write a custom module leveraging the Guzzle HTTP Client that ships with Drupal core?

My end goal is to be able to create a 1:1 relationship to map fields (node, user...) with key/value pairs from RESTful web services. Then I need to be able to read, update or delete those values.
OH, just realized now, maybe I misunderstood the question 100%

This is the code which basically generates the output:

$serializer = \Drupal::service('serializer'):
$output = $serializer-&gt;serialize($entity, $format);


with $format for example being 'json'.

Luckily the serializer is symetric, so you can do the same the other way round.

$client = \Drupal::service('http_client');
$result = $client-&gt;get('http://example.com/entity/node/1', ['Accept' =&gt; 'application/json']);
$output = $result-&gt;getBody();

$serializer = \Drupal::service('serializer'):
$entity = $serializer-&gt;deserialize($output, 'Drupal\node\Entity\Node', $format);